-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the RootFSManager's 'newResource' method to inherit a VirtualFS…
…Manager to created children instead of the RootFSManager itself
- Loading branch information
1 parent
6a7084a
commit 84cb9cd
Showing
3 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { IResource } from '../resource/IResource'; | ||
import { VirtualFSManager } from './VirtualFSManager'; | ||
import { IResource, ResourceType } from '../resource/IResource'; | ||
import { SerializedObject } from './ISerializer'; | ||
export declare class RootFSManager extends VirtualFSManager { | ||
import { FSManager } from './FSManager'; | ||
export declare class RootFSManager implements FSManager { | ||
uid: string; | ||
serialize(resource: any, obj: SerializedObject): object; | ||
unserialize(data: any, obj: SerializedObject): IResource; | ||
newResource(fullPath: string, name: string, type: ResourceType, parent: IResource): IResource; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters