NxScopedHost
Hierarchy
Section titled “Hierarchy”-
ScopedHost<any>↳
NxScopedHost
Table of contents
Section titled “Table of contents”Constructors
Section titled “Constructors”Properties
Section titled “Properties”Accessors
Section titled “Accessors”Methods
Section titled “Methods”- _resolve
- delete
- exists
- isDirectory
- isFile
- list
- mergeProjectConfiguration
- read
- readExistingAngularJson
- readJson
- readMergedWorkspaceConfiguration
- rename
- stat
- watch
- write
Constructors
Section titled “Constructors”constructor
Section titled “constructor”• new NxScopedHost(root): NxScopedHost
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
root | string |
Returns
Section titled “Returns”Overrides
Section titled “Overrides”virtualFs.ScopedHost<any>.constructor
Properties
Section titled “Properties”_delegate
Section titled “_delegate”• Protected _delegate: Host<any>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost._delegate
• Protected _root: Path
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost._root
• Private root: any
Accessors
Section titled “Accessors”capabilities
Section titled “capabilities”• get capabilities(): HostCapabilities
Returns
Section titled “Returns”HostCapabilities
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.capabilities
Methods
Section titled “Methods”_resolve
Section titled “_resolve”▸ _resolve(path): Path
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Path
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost._resolve
delete
Section titled “delete”▸ delete(path): Observable<void>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<void>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.delete
exists
Section titled “exists”▸ exists(path): Observable<boolean>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<boolean>
Overrides
Section titled “Overrides”virtualFs.ScopedHost.exists
isDirectory
Section titled “isDirectory”▸ isDirectory(path): Observable<boolean>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<boolean>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.isDirectory
isFile
Section titled “isFile”▸ isFile(path): Observable<boolean>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<boolean>
Overrides
Section titled “Overrides”virtualFs.ScopedHost.isFile
▸ list(path): Observable<PathFragment[]>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<PathFragment[]>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.list
mergeProjectConfiguration
Section titled “mergeProjectConfiguration”▸ mergeProjectConfiguration(existing, updated, projectName): AngularProjectConfiguration
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
existing | AngularProjectConfiguration |
updated | AngularProjectConfiguration |
projectName | string |
Returns
Section titled “Returns”AngularProjectConfiguration
▸ read(path): Observable<ArrayBuffer>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<ArrayBuffer>
Overrides
Section titled “Overrides”virtualFs.ScopedHost.read
readExistingAngularJson
Section titled “readExistingAngularJson”▸ readExistingAngularJson(): Observable<any>
Returns
Section titled “Returns”Observable<any>
readJson
Section titled “readJson”▸ readJson<T>(path): Observable<T>
Type parameters
Section titled “Type parameters”| Name | Type |
|---|---|
T | any |
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | string |
Returns
Section titled “Returns”Observable<T>
readMergedWorkspaceConfiguration
Section titled “readMergedWorkspaceConfiguration”▸ readMergedWorkspaceConfiguration(): Observable<any>
Returns
Section titled “Returns”Observable<any>
rename
Section titled “rename”▸ rename(from, to): Observable<void>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
from | Path |
to | Path |
Returns
Section titled “Returns”Observable<void>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.rename
▸ stat(path): Observable<any>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
Returns
Section titled “Returns”Observable<any>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.stat
▸ watch(path, options?): Observable<HostWatchEvent>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
options? | HostWatchOptions |
Returns
Section titled “Returns”Observable<HostWatchEvent>
Inherited from
Section titled “Inherited from”virtualFs.ScopedHost.watch
▸ write(path, content): Observable<void>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
path | Path |
content | ArrayBuffer |
Returns
Section titled “Returns”Observable<void>
Overrides
Section titled “Overrides”virtualFs.ScopedHost.write