// Pfm.FormatterDispatch.Delete public void Delete(Pfm.MarshallerDeleteOp op) { long openId = op.OpenId(); long parentFileId = op.ParentFileId(); string endName = op.EndName(); long writeTime = op.WriteTime(); int perr; File file; File parent; perr = FileFindOpenId(openId, out file); if (perr == 0) { perr = FileFindFileId(parentFileId, out parent); if (perr == 0) { FileNameRemove(parent, writeTime, endName, file); } } op.Complete(perr); }
public void Delete(Pfm.MarshallerDeleteOp op) { op.Complete(Pfm.errorAccessDenied); }