libgocryptfs/internal/fusefrontend_reverse/file_api_check.go

26 lines
688 B
Go
Raw Normal View History

2020-08-09 22:11:46 +02:00
package fusefrontend_reverse
import (
"github.com/hanwen/go-fuse/v2/fs"
)
// Check that we have implemented the fs.File* interfaces
var _ = (fs.FileReader)((*File)(nil))
var _ = (fs.FileReleaser)((*File)(nil))
2020-08-16 19:58:47 +02:00
var _ = (fs.FileLseeker)((*File)(nil))
2020-08-16 13:52:27 +02:00
/* Not needed
2020-08-16 19:58:47 +02:00
var _ = (fs.FileGetattrer)((*File)(nil))
var _ = (fs.FileGetlker)((*File)(nil))
var _ = (fs.FileSetlker)((*File)(nil))
var _ = (fs.FileSetlkwer)((*File)(nil))
2020-08-16 13:52:27 +02:00
*/
/* Will not implement these - reverse mode is read-only!
2020-08-16 19:58:47 +02:00
var _ = (fs.FileSetattrer)((*File)(nil))
var _ = (fs.FileWriter)((*File)(nil))
var _ = (fs.FileFsyncer)((*File)(nil))
var _ = (fs.FileFlusher)((*File)(nil))
var _ = (fs.FileAllocater)((*File)(nil))
2020-08-09 22:11:46 +02:00
*/