Move some libraries around

This commit is contained in:
2024-09-12 15:11:50 +02:00
parent f3ac6875ed
commit 9e7f3b4e0d
18 changed files with 16 additions and 16 deletions

View File

@@ -98,7 +98,6 @@ export const fs_mkdirall = async (path: string, opts: NodeOptions) => {
)
}
export const fs_get_node = async (path: string) => {
return await fs_check_response(
await fetch(fs_path_url(path) + "?stat")
@@ -144,6 +143,7 @@ export const fs_delete = async (path: string) => {
await fetch(fs_path_url(path), { method: "DELETE" })
) as GenericResponse
}
export const fs_delete_all = async (path: string) => {
return await fs_check_response(
await fetch(fs_path_url(path) + "?recursive", { method: "DELETE" })