import { Filesystem } from "../api/filesystem" ; export class LocalFilesystem extends Filesystem { constructor ( ) { super ( ) ; throw new Error ( "LocalFilesystem is not supported in the browser." ) ; } tryList ( path ) { throw new Error ( "LocalFilesystem is not supported in the browser." ) ; } tryRead ( filename ) { throw new Error ( "LocalFilesystem is not supported in the browser." ) ; } } export function pathDirname ( filePath ) { throw new Error ( "Not implemented" ) ; } export function pathBasename ( filePath ) { throw new Error ( "Not implemented" ) ; } export function pathJoin ( paths ) { return paths . join ( "/" ) ; } export function splitPath ( filePath ) { throw new Error ( "Filesystem functionality is not available in the browser." ) ; }