예제 #1
0
        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));
        }
예제 #2
0
 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));
 }