-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement the empty operation (#12)
This will implement the `empty` action available in the console(`rm --recursive` in the cli). I want the behavior to be drawn from the behavior of the cli; the function will return a list of keys that were deleted. I'm also thinking about adding a `quiet` option that simply returns the keys that failed to delete, but probably not for the first version.
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ export function sha256Hex(data: string | Uint8Array): string { | |
} | ||
export { default as parseXML } from "https://raw.githubusercontent.com/nekobato/deno-xml-parser/0bc4c2bd2f5fad36d274279978ca57eec57c680c/index.ts"; | ||
export { decode as decodeXMLEntities } from "https://deno.land/x/[email protected]/lib/xml-entities.js"; | ||
export { pooledMap } from "https://deno.land/[email protected]/async/pool.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters