@md/merge-folders@1.0.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
m-dressler/merge-foldersAllows you to specify to folders which should be merged into one
This package works with Deno
JSR Score
94%
Published
a month ago (1.0.0)
@md/merge-folders
Exports a function mergeFolders
which allows you to specify to folders which should be merged into one.
The function will move each file for toMerge
into target
where no equivalent file exists. If both have the same file, it will compute a SHA-256 hash for each file's content to check if they're the same. If not, it will keep the file in toMerge
for manual resolution.
Finally, it will clean up the toMerge
directory removing any empty subdirectories including itself if no files has conflicts.
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@md/merge-folders
Import symbol
import * as mod from "@md/merge-folders";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@md/merge-folders";