16 lines
No EOL
896 B
Markdown
16 lines
No EOL
896 B
Markdown
Spinal
|
|
========
|
|
|
|
A couple of tools for copying files and directories.
|
|
|
|
2016 03 02
|
|
- Fixed issue where the copy's path casing was based on the input string and not the path's actual casing (since Windows doesn't care).
|
|
- Change the returned written_bytes to 0 if the file did not need to be copied. This is better for tracking how much actually happens during each backup.
|
|
- Fixed encode errors caused by callback_v1's print statement.
|
|
|
|
2016 03 03
|
|
- Moved directory / filename exclusion logic into the walk_generator so the caller doesn't need to worry about it.
|
|
- walk_generator now yields absolute filenames since copy_dir no longer needs to process exclusions, and that was the only reason walk_generator used to yield them in parts.
|
|
|
|
2016 03 04
|
|
- Created a FilePath class to cache os.stat data, which should reduce the number of unecessary filesystem calls. |