File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
standalone-packages/codesandbox-browserfs/src/backend Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1+ import { ApiError , ErrorCode } from '../core/api_error' ;
2+ import { File } from '../core/file' ;
3+ import { FileFlag } from '../core/file_flag' ;
14/* eslint-disable */
25import {
3- SynchronousFileSystem ,
4- FileSystem ,
5- BFSOneArgCallback ,
66 BFSCallback ,
7+ BFSOneArgCallback ,
8+ FileSystem ,
79 FileSystemOptions ,
10+ SynchronousFileSystem ,
811} from '../core/file_system' ;
9- import { File } from '../core/file' ;
10- import { FileFlag } from '../core/file_flag' ;
11- import { default as Stats , FileType } from '../core/node_fs_stats' ;
12+ import { FileType , default as Stats } from '../core/node_fs_stats' ;
1213import PreloadFile from '../generic/preload_file' ;
13- import { ErrorCode , ApiError } from '../core/api_error' ;
1414
1515function blobToBuffer ( blob : Blob , cb : ( err : any | undefined | null , result ?: Buffer ) => void ) {
1616 if ( typeof Blob === 'undefined' || ! ( blob instanceof Blob ) ) {
@@ -59,7 +59,6 @@ export interface IManager {
5959 } ;
6060}
6161
62- const warn = console . warn ;
6362
6463function getCode ( savedCode : string | null | undefined , code : string | undefined ) {
6564 if ( savedCode === null ) {
You can’t perform that action at this time.
0 commit comments