AtviseFile
Extends:
gulp-util~File → AtviseFile
Direct Subclass:
A File subclass used for transform streams. Currently only extends vinyl by a rc
property holding the runtime config.
Static Method Summary
| Static Public Methods | ||
| public static |
from(file: File, runtimeConfig: Object): AtviseFile Create an AtviseFile from a regular vinyl File. |
|
| public static |
isCustomProp(name: String): Boolean A required method for the File subclass to work properly. |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: Object) Creates a new AtviseFile based on some options. |
|
Member Summary
| Public Members | ||
| public get |
The file's node id. |
|
| public |
The file's runtime configuration |
|
Method Summary
| Public Methods | ||
| public |
clone(options: Object): AtviseFile Returns a new AtviseFile with all attributes cloned. |
|
Static Public Methods
public static from(file: File, runtimeConfig: Object): AtviseFile source
Create an AtviseFile from a regular vinyl File.
Public Constructors
Public Members
Public Methods
public clone(options: Object): AtviseFile source
Returns a new AtviseFile with all attributes cloned.
Params:
| Name | Type | Attribute | Description |
| options | Object |
|
The options passed to File#clone |