C# Class Kudu.Core.Environment

Inheritance: IEnvironment
Show file Open project: projectkudu/kudu Class Usage Examples

Public Methods

Method Description
Environment ( string rootPath, string binPath, string repositoryPath ) : System
Environment ( string rootPath, string siteRootPath, string tempPath, string repositoryPath, string webRootPath, string deploymentsPath, string diagnosticsPath, string locksPath, string sshKeyPath, string scriptPath, string nodeModulesPath, string dataPath, string siteExtensionSettingsPath ) : System
GetFreeSpaceHtml ( string path ) : string
IsAzureEnvironment ( ) : bool

Private Methods

Method Description
GetDiskFreeSpace ( string path, ulong &freeBytes, ulong &totalBytes ) : void

Method Details

Environment() public method

public Environment ( string rootPath, string binPath, string repositoryPath ) : System
rootPath string
binPath string
repositoryPath string
return System

Environment() public method

public Environment ( string rootPath, string siteRootPath, string tempPath, string repositoryPath, string webRootPath, string deploymentsPath, string diagnosticsPath, string locksPath, string sshKeyPath, string scriptPath, string nodeModulesPath, string dataPath, string siteExtensionSettingsPath ) : System
rootPath string
siteRootPath string
tempPath string
repositoryPath string
webRootPath string
deploymentsPath string
diagnosticsPath string
locksPath string
sshKeyPath string
scriptPath string
nodeModulesPath string
dataPath string
siteExtensionSettingsPath string
return System

GetFreeSpaceHtml() public static method

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

IsAzureEnvironment() public static method

public static IsAzureEnvironment ( ) : bool
return bool