示例#1
0
        public void FileMoveWithOverwrite(string sourceFilePath, string destinationFilePath)
        {
            FileInfo fileInfo = new FileInfo(destinationFilePath);

            CreateDirectoryAndParents(fileInfo.Directory);
            _fileSystemOperations.MoveWithOverwrite(sourceFilePath, destinationFilePath);
            SetUnixOwnerIfNeeded(destinationFilePath);
        }