deno.land / std@0.91.0 / node / _fs / _fs_unlink.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
export function unlink(path: string | URL, callback: (err?: Error) => void) { if (!callback) throw new Error("No callback function supplied"); Deno.remove(path).then((_) => callback(), callback);}
export function unlinkSync(path: string | URL) { Deno.removeSync(path);}
std

Version Info

Tagged at
3 years ago

External Dependencies

No external dependencies 🎉