Exemplo n.º 1
0
        static public AttemptResult MoveStream(this StreamSystem item, string src_path, StreamSystem dst, string dst_path, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT)
        {
            if (dst == item)
            {
                return(item.MoveStreamNative(src_path, dst_path, overwrite, milliseconds));
            }

            return(item.MoveStreamForeign(src_path, dst, dst_path, overwrite, milliseconds));
        }
Exemplo n.º 2
0
 public override AttemptResult MoveStreamForeign(string src_path, StreamSystem dst, string dst_path, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT)
 {
     return(stream_system.MoveStreamForeign(CalculatePath(src_path), dst, dst_path, overwrite, milliseconds));
 }