(cb: (name: string, objs: FileSystem[]) => void)
| 2 | import {FileSystem} from '../../../src/core/file_system'; |
| 3 | |
| 4 | export default function LSFSFactory(cb: (name: string, objs: FileSystem[]) => void) { |
| 5 | if (LocalStorageFileSystem.isAvailable()) { |
| 6 | var backend = new LocalStorageFileSystem(); |
| 7 | backend.empty(); |
| 8 | cb('localStorage', [backend]); |
| 9 | } else { |
| 10 | cb('localStorage', []); |
| 11 | } |
| 12 | } |
nothing calls this directly
no test coverage detected