File operations

This commit is contained in:
Barak Michener 2018-03-31 16:58:46 -07:00
parent 4015bc3896
commit 892908fcf5
5 changed files with 260 additions and 8 deletions

View file

@ -270,6 +270,7 @@ func (fs *WsFs) Open(name string, flags uint32, context *fuse.Context) (file nod
r := Request{
Method: MethodOpen,
Flags: flags,
Path: name,
}
resp, ok := fs.getResponse(&r)
if !ok {
@ -286,6 +287,7 @@ func (fs *WsFs) Create(name string, flags uint32, mode uint32, context *fuse.Con
Method: MethodCreate,
Flags: flags,
Mode: mode,
Path: name,
}
resp, ok := fs.getResponse(&r)
if !ok {