C# 클래스 Google.Apis.Utils.DirectoryUtilities

Directory utilities which support copying, clearing and other operations on directories.
파일 보기 프로젝트 열기: Gainedge/BetterExplorer

공개 메소드들

메소드 설명
ClearOrCreateDirectory ( string dir ) : void

Clears or creates the specified directory.

CopyDirectory ( string sourceDir, string destDir ) : void

Copies a directory recursively to a new one.

GetRelativePath ( string child, string parent ) : string

Retrieves the relative path from the parent to the child.

메소드 상세

ClearOrCreateDirectory() 공개 정적인 메소드

Clears or creates the specified directory.
public static ClearOrCreateDirectory ( string dir ) : void
dir string
리턴 void

CopyDirectory() 공개 정적인 메소드

Copies a directory recursively to a new one.
public static CopyDirectory ( string sourceDir, string destDir ) : void
sourceDir string Source directory
destDir string Destination directory
리턴 void

GetRelativePath() 공개 정적인 메소드

Retrieves the relative path from the parent to the child.
public static GetRelativePath ( string child, string parent ) : string
child string
parent string
리턴 string