Skip to content

Commit a26e1cc

Browse files
Copilotstreamich
andcommitted
feat: complete FSA implementation with main package exports
Co-authored-by: streamich <[email protected]>
1 parent e53cd7c commit a26e1cc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/index.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ import type { FsPromisesApi } from './node/types';
77
import type * as misc from './node/types/misc';
88
import { fsSynchronousApiList } from './node/lists/fsSynchronousApiList';
99
import { fsCallbackApiList } from './node/lists/fsCallbackApiList';
10+
11+
// Re-export core FSA implementation
12+
export {
13+
CoreFileSystemHandle,
14+
CoreFileSystemDirectoryHandle,
15+
CoreFileSystemFileHandle,
16+
CoreFileSystemSyncAccessHandle,
17+
CoreFileSystemWritableFileStream,
18+
CorePermissionStatus,
19+
coreToFsa,
20+
type CoreFsaContext
21+
} from './fsa';
22+
23+
// Re-export node-to-fsa implementation
24+
export {
25+
NodeFileSystemHandle,
26+
NodeFileSystemDirectoryHandle,
27+
NodeFileSystemFileHandle,
28+
nodeToFsa,
29+
type NodeFsaContext,
30+
type NodeFsaFs
31+
} from './node-to-fsa';
32+
1033
const { F_OK, R_OK, W_OK, X_OK } = constants;
1134

1235
export { DirectoryJSON, NestedDirectoryJSON, Volume };

0 commit comments

Comments
 (0)