class KvFs
implements FileSystemApi
import { KvFs } from "https://deno.land/x/live@1.77.0/daemon/realtime/kvfs.ts";
Constructors
new
private
KvFs(base: string, kv: Deno.Kv)Properties
private
broadcastChannel: BroadcastChannelprivate
durableFS: DaemonDiskStorageprivate
events: Queue<Deno.FsEvent>Methods
private
getFullPath(path: string | URL): string[]private
initialize()exists(path: string): Promise<boolean>
readDir(path: string | URL): AsyncIterable<Deno.DirEntry>
readTextFile(path: string | URL): Promise<string>
watchFs(_paths: string | string[]): AsyncIterable<Deno.FsEvent>
writeTextFile(path: string | URL, data: string): Promise<void>