Commit 50503337 authored by Aaron Jacobs's avatar Aaron Jacobs

Handle RemoveRequest.

parent fe76354f
......@@ -78,7 +78,21 @@ func Convert(r bazilfuse.Request) (o Op) {
co = &to.commonOp
case *bazilfuse.RemoveRequest:
//TODO
if typed.Dir {
to := &RmDirOp{
Parent: InodeID(typed.Header.Node),
Name: typed.Name,
}
o = to
co = &to.commonOp
} else {
to := &UnlinkOp{
Parent: InodeID(typed.Header.Node),
Name: typed.Name,
}
o = to
co = &to.commonOp
}
case *bazilfuse.OpenRequest:
//TODO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment