FileSystem
Tests:
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
createReadStream(relativeOrAbsolutePathToFile: Path): * |
|
public |
createWriteStreamTo(relativeOrAbsolutePathToFile: Path): * |
|
public |
ensureDirectoryExistsAt(relativeOrAbsolutePathToDirectory: Path): Promise |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
tempFilePath(prefix: undefined, suffix: undefined): Path |
Public Constructors
public constructor() source
Public Methods
public createReadStream(relativeOrAbsolutePathToFile: Path): * source
Params:
Name | Type | Attribute | Description |
relativeOrAbsolutePathToFile | Path |
Returns:
* |
public createWriteStreamTo(relativeOrAbsolutePathToFile: Path): * source
Params:
Name | Type | Attribute | Description |
relativeOrAbsolutePathToFile | Path |
Returns:
* |
public ensureDirectoryExistsAt(relativeOrAbsolutePathToDirectory: Path): Promise source
Params:
Name | Type | Attribute | Description |
relativeOrAbsolutePathToDirectory | Path |
Returns:
Promise |
public exists(relativeOrAbsolutePathToFile: Path): boolean source
Params:
Name | Type | Attribute | Description |
relativeOrAbsolutePathToFile | Path |
Returns:
boolean |
public remove(relativeOrAbsolutePathToFileOrDirectory: Path): Promise source
Params:
Name | Type | Attribute | Description |
relativeOrAbsolutePathToFileOrDirectory | Path |
Returns:
Promise |
public stat(relativeOrAbsolutePathToFile: Path): Promise source
Params:
Name | Type | Attribute | Description |
relativeOrAbsolutePathToFile | Path |
Returns:
Promise |