mirror of
https://github.com/2234839/web-font.git
synced 2025-04-28 04:49:08 +08:00
15 lines
268 B
TypeScript
15 lines
268 B
TypeScript
import { implInterface } from "../interface";
|
|
|
|
implInterface({
|
|
async stat(path) {
|
|
const r = await global.tjs.stat(path);
|
|
return {
|
|
isFile: () => r.isFile,
|
|
size: r.size,
|
|
};
|
|
},
|
|
readFile(path) {
|
|
return global.tjs.readFile(path);
|
|
},
|
|
});
|