23 lines
473 B
TypeScript
23 lines
473 B
TypeScript
// just for develop
|
|
|
|
export default {
|
|
read,
|
|
write,
|
|
dir,
|
|
stat
|
|
}
|
|
|
|
function read(filename: string): string {return ''}
|
|
function write(filename: string, data: any): void {}
|
|
function dir(filename: string): Array<FileInfo> {return null}
|
|
function stat(filename: string): FileInfo {return null}
|
|
function find(filename: string): string {return ''}
|
|
|
|
interface FileInfo {
|
|
Name: string
|
|
FullName: string
|
|
IsDir: boolean
|
|
Size: number
|
|
ModTime: number
|
|
}
|