class File
implements IFile
Abstract
import { File } from "https://deno.land/x/mesozoic@v1.3.1/lib/sources/file.ts";
Methods
contentHash(length?)
dirname()
filename()
isLocked()
path()
read()
readAsJson<T = unknown>(reviver?: (key: string, value: any) => any): Promise<T>
remove(): Promise<boolean>
rename(newFilename: string): Promise<string>
root()
unlock()
url()
write(content: string | Uint8Array, overwrite?)
writeJson(value: any, pretty?)