C# Класс ZeroInstall.Store.Implementations.CopyDirectoryPosix

Copies the content of a directory to a new location preserving the original file modification times. Uses FlagUtils to preserve executable bits and symlinks if the destination filesystem cannot hold them.
Наследование: NanoByte.Common.Storage.CopyDirectory
Показать файл Открыть проект

Открытые методы

Метод Описание
CopyDirectoryPosix ( string sourcePath, string destinationPath, bool preserveDirectoryTimestamps = true, bool overwrite = false ) : System

Защищенные методы

Метод Описание
CopyFile ( FileInfo sourceFile, FileInfo destinationFile ) : void
CreateSymlink ( string linkPath, string linkTarget ) : void

Описание методов

CopyDirectoryPosix() публичный Метод

public CopyDirectoryPosix ( string sourcePath, string destinationPath, bool preserveDirectoryTimestamps = true, bool overwrite = false ) : System
sourcePath string
destinationPath string
preserveDirectoryTimestamps bool
overwrite bool
Результат System

CopyFile() защищенный Метод

protected CopyFile ( FileInfo sourceFile, FileInfo destinationFile ) : void
sourceFile System.IO.FileInfo
destinationFile System.IO.FileInfo
Результат void

CreateSymlink() защищенный Метод

protected CreateSymlink ( string linkPath, string linkTarget ) : void
linkPath string
linkTarget string
Результат void