2.0.1.5
·
11 commits
to master
since this release
feat(file-management): add file renaming and extension changing utilities
- Implement
renameFilefunction to rename a temporary file to its original name in the specified directory- Checks for file existence before renaming
- Add
changeFileExtensionToBtutility function to dynamically replace any file extension with ".bt" or append it if no extension is present - Update usage to rename temporary downloaded files to their original names and change extensions to ".bt"
This improves file management during download handling by allowing consistent naming and extension adjustments.