2023-08-18 11:54:36 -04:00

6.0 KiB

Class: NxScopedHost

Hierarchy

  • ScopedHost<any>

    NxScopedHost

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new NxScopedHost(root)

Parameters

Name Type
root string

Overrides

virtualFs.ScopedHost<any&gt;.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

Protected _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

Private readJson<T>(path): Observable<T>

Type parameters

Name Type
T any

Parameters

Name Type
path string

Returns

Observable<T>


readMergedWorkspaceConfiguration

Private 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