Releases: acegoal07/file-tools
Releases · acegoal07/file-tools
1.0.9
1.0.8
1.0.7
1.0.7
- Adds addition settings to
copyFile
which includes overwrite - Moves
copyPath
into addition settings ofcopyFile
to allow you to enable overwrite but not have to specify acopyPath
to enable it - Moves
copyDir
into addition settings ofcopyDir
to allow you to enable overwrite but not have to specify acopyDir
to enable it - Removes some checks that are not required within some functions
- Adds overwrite to
moveFile
- In some locations switched from using
fs.copyFileSync
tofse.copySync
to allow for additional settings - Removes settings parameter from
moveDir
and makes it so overwrite is its own parameter - Adds
emptyDir
- Adds a check for whether or not the file you are trying to create already exists is
createFile
- Makes it so
copyFile
edits the name of the file instead of the file type to add support for file without file types - Updates some error messages
- Fixes
copyDir
adding a number to a copied folder when it shouldn't have a number - Rewrites the copy functions for both
copyFile
andcopyDir
to cut down on unneeded code
1.0.6
1.0.5
1.0.5
- Makes it so you can run multiple functions without a new call of the class this is only available for functions that do not return any data
- Breaks up
UniversalFileTools
intoFileTools
andDirectoryTools
- Adds a check to anything that has a directory string input to make sure the string references a directory and not a file
- Deprecates
UniversalFileTools
- Adds
FileTools
andDirectoryTools
- Removes all directory tools from
FileTools
and moves them toDirectoryTools
- Adds more checks to functions to prevent errors from occurring
1.0.4
1.0.4
- Adds
deleteDir
function - Adds
isDirEmpty
function - Updates the wiki
- Adds new build and test script to packages.json
- Adds the ability to pass objects into write file
- Improves copy file making to so you can copy a file multiple times without a destination
- Makes it so all write functions uses base write function to cut down on the reuse of code