static public AttemptResult MoveDirectory(this StreamSystem item, string src_path, StreamSystem dst, string dst_path, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT) { if (dst == item) { return(item.MoveDirectoryNative(src_path, dst_path, overwrite, milliseconds)); } return(item.MoveDirectoryForeign(src_path, dst, dst_path, overwrite, milliseconds)); }
public override AttemptResult MoveDirectoryNative(string src_path, string dst_path, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(stream_system.MoveDirectoryNative(CalculatePath(src_path), CalculatePath(dst_path), overwrite, milliseconds)); }