Refactoring
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { FileMeta } from "$sb/types.ts";
|
||||
import { assert } from "../../test_deps.ts";
|
||||
import { FileMeta } from "../../common/types.ts";
|
||||
import { path } from "../deps.ts";
|
||||
import fileSystemSyscalls from "./fs.deno.ts";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { SysCallMapping } from "../system.ts";
|
||||
import { mime, path, walk } from "../deps.ts";
|
||||
import { base64DecodeDataUrl, base64Encode } from "../asset_bundle/base64.ts";
|
||||
import { FileMeta } from "../../common/types.ts";
|
||||
import { FileMeta } from "$sb/types.ts";
|
||||
|
||||
export default function fileSystemSyscalls(root = "/"): SysCallMapping {
|
||||
function resolvedPath(p: string): string {
|
||||
|
||||
Reference in New Issue
Block a user