C# Class CClash.FileUtils

Show file Open project: artillery/cclash

Public Methods

Method Description
CopyUnlocked ( string from, string to ) : void
Exists ( string path ) : bool
FileMissing ( string path ) : bool
GetShortPath ( string path ) : string
ToLongPathName ( string path ) : string
WriteTextFile ( string path, string content ) : void

Private Methods

Method Description
GetLongPathName ( [ path, [ longPath, int longPathLength ) : int
GetShortPathName ( [ path, [ shortPath, int shortPathLength ) : int
PathFileExists ( StringBuilder path ) : bool

Method Details

CopyUnlocked() public static method

public static CopyUnlocked ( string from, string to ) : void
from string
to string
return void

Exists() public static method

public static Exists ( string path ) : bool
path string
return bool

FileMissing() public static method

public static FileMissing ( string path ) : bool
path string
return bool

GetShortPath() public static method

public static GetShortPath ( string path ) : string
path string
return string

ToLongPathName() public static method

public static ToLongPathName ( string path ) : string
path string
return string

WriteTextFile() public static method

public static WriteTextFile ( string path, string content ) : void
path string
content string
return void