File tree 2 files changed +0
-7
lines changed
etc/api/angular_devkit/schematics/src
packages/angular_devkit/schematics/src/tree
2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,6 @@ export declare class HostTree implements Tree {
316
316
get ( path : string ) : FileEntry | null ;
317
317
getDir ( path : string ) : DirEntry ;
318
318
merge ( other : Tree , strategy ?: MergeStrategy ) : void ;
319
- optimize ( ) : this;
320
319
overwrite ( path : string , content : Buffer | string ) : void ;
321
320
read ( path : string ) : Buffer | null ;
322
321
rename ( from : string , to : string ) : void ;
Original file line number Diff line number Diff line change @@ -148,12 +148,6 @@ export class HostTree implements Tree {
148
148
return this . _record . willRename ( path ) ;
149
149
}
150
150
151
- // This can be used by old Schematics library with new Trees in some corner cases.
152
- // TODO: remove this for 7.0
153
- optimize ( ) {
154
- return this ;
155
- }
156
-
157
151
branch ( ) : Tree {
158
152
const branchedTree = new HostTree ( this . _backend ) ;
159
153
branchedTree . _record = this . _record . clone ( ) ;
You can’t perform that action at this time.
0 commit comments