Added Convert support.

geesefs-0-30-9
Aaron Jacobs 2015-05-19 15:34:14 +10:00
parent f71fe97d5e
commit e9a77cf27d
1 changed files with 9 additions and 0 deletions

View File

@ -114,6 +114,15 @@ func Convert(
io = to
co = &to.commonOp
case *bazilfuse.SymlinkRequest:
to := &CreateSymlinkOp{
Parent: InodeID(typed.Header.Node),
Name: typed.NewName,
Target: typed.Target,
}
io = to
co = &to.commonOp
case *bazilfuse.RemoveRequest:
if typed.Dir {
to := &RmDirOp{