C# 클래스 ZeroInstall.Store.Implementations.FlagUtils

파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 메소드들

메소드 설명
ConvertToFS ( [ path ) : void

Converts all flag files in a directory into real filesystem attributes (executable bits and symlinks).

IsUnixFS ( [ target ) : bool

Determines whether a directory resides on a non-Unix filesystem.

The flag file is searched for instead of specifiying it directly to allow handling of special cases like creating manifests of subdirectories of extracted archives.

MarkAsNoUnixFS ( [ target ) : void

Sets a flag for a directory indicating that it resides on a non-Unix filesystem. This makes future calls to IsUnixFS run faster and more reliable.

Remove ( [ path, [ relativePath ) : void

Removes one or more flags for a file or directory in an external flag file.

Rename ( [ path, [ source, [ destination ) : void

Adds a directory prefix to all entries in an external flag file.

Set ( [ path, [ relativePath ) : void

Sets a flag for a file in an external flag file.

비공개 메소드들

메소드 설명
FindRootDir ( [ flagName, [ target ) : string
GetFiles ( [ flagName, [ target ) : ICollection

메소드 상세

ConvertToFS() 공개 정적인 메소드

Converts all flag files in a directory into real filesystem attributes (executable bits and symlinks).
public static ConvertToFS ( [ path ) : void
path [ The path to the directory to convert.
리턴 void

IsUnixFS() 공개 정적인 메소드

Determines whether a directory resides on a non-Unix filesystem.
The flag file is searched for instead of specifiying it directly to allow handling of special cases like creating manifests of subdirectories of extracted archives.
public static IsUnixFS ( [ target ) : bool
target [ The full path to the directory.
리턴 bool

MarkAsNoUnixFS() 공개 정적인 메소드

Sets a flag for a directory indicating that it resides on a non-Unix filesystem. This makes future calls to IsUnixFS run faster and more reliable.
There was an error writing the flag file. You have insufficient rights to write the flag file.
public static MarkAsNoUnixFS ( [ target ) : void
target [ The full path to the directory.
리턴 void

Remove() 공개 정적인 메소드

Removes one or more flags for a file or directory in an external flag file.
is not a relative path. There was an error writing the flag file. You have insufficient rights to write the flag file.
public static Remove ( [ path, [ relativePath ) : void
path [ The full path to the flag file, named or .
relativePath [ The path of the file or directory to remove relative to .
리턴 void

Rename() 공개 정적인 메소드

Adds a directory prefix to all entries in an external flag file.
or is not a relative path. There was an error writing the flag file. You have insufficient rights to write the flag file.
public static Rename ( [ path, [ source, [ destination ) : void
path [ The full path to the flag file, named or .
source [ The old path of the renamed file or directory relative to .
destination [ The new path of the renamed file or directory relative to .
리턴 void

Set() 공개 정적인 메소드

Sets a flag for a file in an external flag file.
is not a relative path. There was an error writing the flag file. You have insufficient rights to write the flag file.
public static Set ( [ path, [ relativePath ) : void
path [ The full path to the flag file, named or .
relativePath [ The path of the file to set relative to .
리턴 void