File operations
This commit is contained in:
parent
4015bc3896
commit
892908fcf5
5 changed files with 260 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue