ParseConfigFileHost

Interface extending ParseConfigHost to support ParseConfigFile that reads config file and reports errors

Properties

Link copied to clipboard
abstract val directoryExists: (directoryName: String) -> Boolean?
Link copied to clipboard
abstract val getCurrentDirectory: () -> String?
Link copied to clipboard
abstract val getDirectories: (path: String) -> ReadonlyArray<String>?
Link copied to clipboard

Reports unrecoverable error when parsing config file

Link copied to clipboard
abstract val realpath: (path: String) -> String?

Resolve a symbolic link.

Link copied to clipboard
abstract override val trace: (s: String) -> Unit?
Link copied to clipboard
abstract override var useCaseSensitiveFileNames: Boolean

Functions

Link copied to clipboard
abstract override fun fileExists(fileName: String): Boolean

Gets a value indicating whether the specified path exists and is a file.

Link copied to clipboard
abstract fun getCurrentDirectory(): String
Link copied to clipboard
abstract fun readDirectory(rootDir: String, extensions: ReadonlyArray<String>, excludes: ReadonlyArray<String>?, includes: ReadonlyArray<String>, depth: Double = definedExternally): ReadonlyArray<String>
Link copied to clipboard
abstract override fun readFile(fileName: String): String?