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