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