diff options
author | Jakob Unterwurzacher | 2020-07-12 12:59:01 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-07-12 12:59:01 +0200 |
commit | 6196a5b5fe78f7a5b8e38c00e656f70c1592e1df (patch) | |
tree | 6bb2eb3058080f589a29d7104a09c2c6f3a1162e /internal/fusefrontend/file2_api_check.go | |
parent | d539a4c21474a5d45bb3b8432d7b6f07664e61bd (diff) |
v2api: File2: implement Release, Read, Write, Fsync, Flush, Allocate
Fortunately, this just means fixing up the function
signatures.
Diffstat (limited to 'internal/fusefrontend/file2_api_check.go')
-rw-r--r-- | internal/fusefrontend/file2_api_check.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/fusefrontend/file2_api_check.go b/internal/fusefrontend/file2_api_check.go index 3f2c595..4a6d6a1 100644 --- a/internal/fusefrontend/file2_api_check.go +++ b/internal/fusefrontend/file2_api_check.go @@ -7,17 +7,17 @@ import ( // Check that we have implemented the fs.File* interfaces var _ = (fs.FileGetattrer)((*File2)(nil)) var _ = (fs.FileSetattrer)((*File2)(nil)) - -/* TODO -var _ = (fs.FileHandle)((*File2)(nil)) var _ = (fs.FileReleaser)((*File2)(nil)) var _ = (fs.FileReader)((*File2)(nil)) var _ = (fs.FileWriter)((*File2)(nil)) +var _ = (fs.FileFsyncer)((*File2)(nil)) +var _ = (fs.FileFlusher)((*File2)(nil)) +var _ = (fs.FileAllocater)((*File2)(nil)) + +/* TODO +var _ = (fs.FileHandle)((*File2)(nil)) var _ = (fs.FileGetlker)((*File2)(nil)) var _ = (fs.FileSetlker)((*File2)(nil)) var _ = (fs.FileSetlkwer)((*File2)(nil)) var _ = (fs.FileLseeker)((*File2)(nil)) -var _ = (fs.FileFlusher)((*File2)(nil)) -var _ = (fs.FileFsyncer)((*File2)(nil)) -var _ = (fs.FileAllocater)((*File2)(nil)) */ |