anchor.diff:      _ ->
         {ok, true}
     end.
  -%% ====================================================================
  -%% Internal functions
  -%% ====================================================================
   
   %% Updates modification time for parent of Dir
   update_parent_ctime(Dir, CTime) ->
  
positive.code:                                 case dao_lib:apply(dao_vfs, save_file, [Renamed], ProtocolVersion) of
                                  {ok, _} ->
                                      CTime = fslogic_utils:time(),
                                      ?PARENT_CTIME(Record#renamefile.from_file_logic_name, CTime),
                                      ?PARENT_CTIME(Record#renamefile.to_file_logic_name, CTime),
                                      #atom{value = ?VOK};
                                  Other ->
                                      lager:warning("Cannot save file document. Reason: ~p", [Other]),
  
negative.code:                           Status = dao_lib:apply(dao_vfs, remove_file, [File], ProtocolVersion),
                            case Status of
                              ok ->
                                update_parent_ctime(Record#deletefile.file_logic_name, fslogic_utils:time()),
                                #atom{value = ?VOK};
                              _BadStatus ->
                                lager:error([{mod, ?MODULE}], "Error: can not remove file: ~s", [File]),
  