forked from giselles-ai/giselle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(file): Add pathnameToFilename utility for path handling
Add a new utility function to extract filenames from full paths and update file copy implementation to preserve original filenames with random suffixes. - Add pathnameToFilename function to extract file name from path - Add comprehensive test cases for different path scenarios - Update copyAgentAction to maintain original file names during copy - Add random suffix to prevent filename collisions
- Loading branch information
1 parent
886a8da
commit a51dbf2
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters