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