diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index c1fa090..238baad 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,12 +1,47 @@ { - "ImportPath": "github.com/avanier/jkl", - "GoVersion": "go1.8", + "ImportPath": "otremblay.com/jkl", + "GoVersion": "go1.9", "GodepVersion": "v79", + "Packages": [ + "./..." + ], "Deps": [ + { + "ImportPath": "github.com/hanwen/go-fuse/fuse", + "Comment": "v20170619-21-gcf21bc2", + "Rev": "cf21bc21cac77db799fff95d80e717908e6356a5" + }, + { + "ImportPath": "github.com/hanwen/go-fuse/fuse/nodefs", + "Comment": "v20170619-21-gcf21bc2", + "Rev": "cf21bc21cac77db799fff95d80e717908e6356a5" + }, + { + "ImportPath": "github.com/hanwen/go-fuse/fuse/pathfs", + "Comment": "v20170619-21-gcf21bc2", + "Rev": "cf21bc21cac77db799fff95d80e717908e6356a5" + }, + { + "ImportPath": "github.com/hanwen/go-fuse/splice", + "Comment": "v20170619-21-gcf21bc2", + "Rev": "cf21bc21cac77db799fff95d80e717908e6356a5" + }, { "ImportPath": "github.com/joho/godotenv", "Comment": "v1.1-23-gc9360df", "Rev": "c9360df4d16dc0e391ea2f28da2d31a9ede2e26f" + }, + { + "ImportPath": "golang.org/x/crypto/ssh/terminal", + "Rev": "541b9d50ad47e36efd8fb423e938e59ff1691f68" + }, + { + "ImportPath": "golang.org/x/sys/unix", + "Rev": "8dbc5d05d6edcc104950cc299a1ce6641235bc86" + }, + { + "ImportPath": "golang.org/x/sys/windows", + "Rev": "8dbc5d05d6edcc104950cc299a1ce6641235bc86" } ] } diff --git a/cmd/jklfs/jklfile.go b/cmd/jklfs/jklfile.go index ad5bbc3..e34d3fc 100644 --- a/cmd/jklfs/jklfile.go +++ b/cmd/jklfs/jklfile.go @@ -32,7 +32,7 @@ func (f *jklfile) String() string { func (f *jklfile) Write(data []byte, off int64) (uint32, fuse.Status) { n, err := f.File.WriteAt(data, off) if err != nil { - return uint32(0),fuse.EACCES + return uint32(0), fuse.EACCES } return uint32(n), fuse.OK } @@ -76,3 +76,7 @@ func (f *jklfile) SetInode(i *nodefs.Inode) {} func (f *jklfile) Utimens(atime *time.Time, mtime *time.Time) fuse.Status { return fuse.EPERM } + +func (f *jklfile) Flock(flags int) fuse.Status { + return fuse.ENOSYS +}