Class: NxScopedHost

Hierarchy

  • ScopedHost<any>

    NxScopedHost

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new NxScopedHost(root): NxScopedHost

Parameters

NameType
rootstring

Returns

NxScopedHost

Overrides

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

_resolve(path): Path

Parameters

NameType
pathPath

Returns

Path

Inherited from

virtualFs.ScopedHost._resolve


delete

delete(path): Observable<void>

Parameters

NameType
pathPath

Returns

Observable<void>

Inherited from

virtualFs.ScopedHost.delete


exists

exists(path): Observable<boolean>

Parameters

NameType
pathPath

Returns

Observable<boolean>

Overrides

virtualFs.ScopedHost.exists


isDirectory

isDirectory(path): Observable<boolean>

Parameters

NameType
pathPath

Returns

Observable<boolean>

Inherited from

virtualFs.ScopedHost.isDirectory


isFile

isFile(path): Observable<boolean>

Parameters

NameType
pathPath

Returns

Observable<boolean>

Overrides

virtualFs.ScopedHost.isFile


list

list(path): Observable<PathFragment[]>

Parameters

NameType
pathPath

Returns

Observable<PathFragment[]>

Inherited from

virtualFs.ScopedHost.list


mergeProjectConfiguration

mergeProjectConfiguration(existing, updated, projectName): AngularProjectConfiguration

Parameters

NameType
existingAngularProjectConfiguration
updatedAngularProjectConfiguration
projectNamestring

Returns

AngularProjectConfiguration


read

read(path): Observable<ArrayBuffer>

Parameters

NameType
pathPath

Returns

Observable<ArrayBuffer>

Overrides

virtualFs.ScopedHost.read


readExistingAngularJson

readExistingAngularJson(): Observable<any>

Returns

Observable<any>


readJson

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

Type parameters

NameType
Tany

Parameters

NameType
pathstring

Returns

Observable<T>


readMergedWorkspaceConfiguration

readMergedWorkspaceConfiguration(): Observable<any>

Returns

Observable<any>


rename

rename(from, to): Observable<void>

Parameters

NameType
fromPath
toPath

Returns

Observable<void>

Inherited from

virtualFs.ScopedHost.rename


stat

stat(path): Observable<any>

Parameters

NameType
pathPath

Returns

Observable<any>

Inherited from

virtualFs.ScopedHost.stat


watch

watch(path, options?): Observable<HostWatchEvent>

Parameters

NameType
pathPath
options?HostWatchOptions

Returns

Observable<HostWatchEvent>

Inherited from

virtualFs.ScopedHost.watch


write

write(path, content): Observable<void>

Parameters

NameType
pathPath
contentArrayBuffer

Returns

Observable<void>

Overrides

virtualFs.ScopedHost.write