download
raw
566 Bytes
// src/adapter/deno/ssg.ts
import { toSSG as baseToSSG } from "../../helper/ssg/index.js";
var denoFileSystemModule = {
writeFile: async (path, data) => {
const uint8Data = typeof data === "string" ? new TextEncoder().encode(data) : new Uint8Array(data);
await Deno.writeFile(path, uint8Data);
},
mkdir: async (path, options) => {
return Deno.mkdir(path, { recursive: options?.recursive ?? false });
}
};
var toSSG = async (app, options) => {
return baseToSSG(app, denoFileSystemModule, options);
};
export {
denoFileSystemModule,
toSSG
};

Xet Storage Details

Size:
566 Bytes
·
Xet hash:
a4006b3a027cd570c526c0b0409ea77f67c7637fdf9caaa9eb58a635a9bacdcb

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.