@jsenv/filesystem
Advanced tools
Comparing version 4.5.1 to 4.6.0
{ | ||
"name": "@jsenv/filesystem", | ||
"version": "4.5.1", | ||
"version": "4.6.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -42,2 +42,3 @@ // we might wanna expose the sync versions as follows: | ||
export { writeFileStructureSync } from "./read_write/write_file_structure_sync.js"; | ||
export { saveDirectoryContentSync } from "./read_write/save_directory_content_sync.js"; | ||
@@ -44,0 +45,0 @@ // stat |
@@ -5,5 +5,8 @@ import { readdirSync, statSync, readFileSync } from "node:fs"; | ||
import { assertAndNormalizeDirectoryUrl } from "../path_and_url/directory_url_validation.js"; | ||
import { comparePathnames } from "../path_and_url/compare_pathnames.js"; | ||
export const readFileStructureSync = (directoryUrl) => { | ||
directoryUrl = assertAndNormalizeDirectoryUrl(directoryUrl); | ||
const fileStructure = {}; | ||
@@ -10,0 +13,0 @@ const fileStructureNotOrdered = {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127950
70
3721