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