C# Class 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.
Inheritance: NanoByte.Common.Storage.CopyDirectory
Afficher le fichier Open project: 0install/0install-win

Méthodes publiques

Méthode Description
CopyDirectoryPosix ( string sourcePath, string destinationPath, bool preserveDirectoryTimestamps = true, bool overwrite = false ) : System

Méthodes protégées

Méthode Description
CopyFile ( FileInfo sourceFile, FileInfo destinationFile ) : void
CreateSymlink ( string linkPath, string linkTarget ) : void

Method Details

CopyDirectoryPosix() public méthode

public CopyDirectoryPosix ( string sourcePath, string destinationPath, bool preserveDirectoryTimestamps = true, bool overwrite = false ) : System
sourcePath string
destinationPath string
preserveDirectoryTimestamps bool
overwrite bool
Résultat System

CopyFile() protected méthode

protected CopyFile ( FileInfo sourceFile, FileInfo destinationFile ) : void
sourceFile System.IO.FileInfo
destinationFile System.IO.FileInfo
Résultat void

CreateSymlink() protected méthode

protected CreateSymlink ( string linkPath, string linkTarget ) : void
linkPath string
linkTarget string
Résultat void