File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
etc/api/angular_devkit/core/src
packages/angular_devkit/core/src/virtual-fs/host Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -992,6 +992,7 @@ export declare class SimpleMemoryHost implements Host<{}> {
992
992
list ( path : Path ) : Observable < PathFragment [ ] > ;
993
993
read ( path : Path ) : Observable < FileBuffer > ;
994
994
rename ( from : Path , to : Path ) : Observable < void > ;
995
+ reset ( ) : void ;
995
996
stat ( path : Path ) : Observable < Stats < { } > | null > | null ;
996
997
watch ( path : Path , options ?: HostWatchOptions ) : Observable < HostWatchEvent > | null ;
997
998
write ( path : Path , content : FileBuffer ) : Observable < void > ;
Original file line number Diff line number Diff line change @@ -371,4 +371,9 @@ export class SimpleMemoryHost implements Host<{}> {
371
371
watch ( path : Path , options ?: HostWatchOptions ) : Observable < HostWatchEvent > | null {
372
372
return this . _watch ( path , options ) ;
373
373
}
374
+
375
+ reset ( ) : void {
376
+ this . _cache . clear ( ) ;
377
+ this . _watchers . clear ( ) ;
378
+ }
374
379
}
You can’t perform that action at this time.
0 commit comments