@legit-sdk/core 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/index.js +42 -42
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -738,6 +738,7 @@ type Operation = {
|
|
|
738
738
|
};
|
|
739
739
|
declare const gitBranchOperationsVirtualFile: VirtualFileDefinition;
|
|
740
740
|
|
|
741
|
+
declare function initMemFSLegitFs(): Promise<CompositeFs>;
|
|
741
742
|
declare function initLegitFs(storageFs: typeof nodeFs, gitRoot: string): Promise<CompositeFs>;
|
|
742
743
|
/**
|
|
743
744
|
* Creates and configures a LegitFs instance with CompositeFs, GitSubFs, HiddenFileSubFs, and EphemeralSubFs.
|
|
@@ -777,5 +778,5 @@ type HistoryItem = {
|
|
|
777
778
|
author: User;
|
|
778
779
|
};
|
|
779
780
|
|
|
780
|
-
export { CompositeFs, EphemeralSubFs, GitSubFs, HiddenFileSubFs, PassThroughSubFs, createGitSyncService, getLegitFsAccess, gitBranchOperationsVirtualFile, initLegitFs, openLegitFs };
|
|
781
|
+
export { CompositeFs, EphemeralSubFs, GitSubFs, HiddenFileSubFs, PassThroughSubFs, createGitSyncService, getLegitFsAccess, gitBranchOperationsVirtualFile, initLegitFs, initMemFSLegitFs, openLegitFs };
|
|
781
782
|
export type { HistoryItem, Operation, User };
|