C# Class ZeroInstall.HierarchyToFolder

Inheritance: HierarchyVisitor
显示文件 Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
HierarchyToFolder ( string targetFolder ) : System
VisitFile ( FileEntry entry ) : void
VisitFolder ( FolderEntry entry ) : void
VisitRoot ( RootEntry entry ) : void

Protected Methods

Method Description
CheckAndPrepareWritePathForFolder ( string thisFoldersPath ) : void
SetDestinationDate ( string combinedPath, HierarchyEntry entry ) : void

Private Methods

Method Description
CheckWritePath ( string combinedPath ) : void
WriteFileEntryTo ( FileEntry entry, string combinedPath ) : void

Method Details

CheckAndPrepareWritePathForFolder() protected static method

protected static CheckAndPrepareWritePathForFolder ( string thisFoldersPath ) : void
thisFoldersPath string
return void

HierarchyToFolder() public method

public HierarchyToFolder ( string targetFolder ) : System
targetFolder string
return System

SetDestinationDate() protected static method

protected static SetDestinationDate ( string combinedPath, HierarchyEntry entry ) : void
combinedPath string
entry HierarchyEntry
return void

VisitFile() public method

public VisitFile ( FileEntry entry ) : void
entry FileEntry
return void

VisitFolder() public method

public VisitFolder ( FolderEntry entry ) : void
entry FolderEntry
return void

VisitRoot() public method

public VisitRoot ( RootEntry entry ) : void
entry RootEntry
return void