• v1.7.8 a1a726eb4d

    Implement Lseek operation, and enhance error handling
    Fuse test / go-test (push) Successful in 22s

    Sirherobrine23 released this 2025-08-10 20:27:52 +00:00 | 1 commits to main since this release

    • Update the FileSystemHost to remove functions SetCapCaseInsensitive, SetCapReaddirPlus, SetCapDeleteAccess, SetCapOpenTrunc, SetDirectIO, SetUseIno and expose CapCaseInsensitive, CapReaddirPlus, CapDeleteAccess, CapOpenTrunc, DirectIO, UseIno
    • Added FileSystemLseek interface to support Lseek operation in FUSE.
    • Implemented Lseek functionality in the host layer.
    • Refactored error handling in ErrorToStatus to improve clarity and coverage.
    • Enhanced BasicStat and AppendDirEntry functions to populate additional fields in the FUSE stat structure.
    • Created utility functions for managing FUSE flags and permissions.
    • fs:
      • Remove Fd() uintptr from base of File interface
      • Now fs use internal File Descriptor
      • Removed FS() F from FileSystemMount[T, FileSystem[T]]
    • Unix fs:
      • Merge _fuse to _FileSystemMount and rename to FuseFs
      • Add new FileSystemStatFst to use direct fuse Statfs struct
      • Utimens don't return -ENOSYS if FileSystemUtimens not implemented
      • Add Lseek function

    Signed-off-by: Matheus Sampaio Queiroga srherobrine20@gmail.com

    Downloads