else/SpinalTap
Ethan Dalool 9b46a7b927 else
2018-03-13 01:45:23 -07:00
..
testdata else 2015-10-03 16:29:52 -07:00
backups.py else 2016-02-20 23:13:50 -08:00
README.md Fix PermissionError raised with Source from Destination 2017-03-30 15:54:22 -07:00
spinal.py else 2018-03-13 01:45:23 -07:00

Spinal

A couple of tools for copying files and directories.

  • 2017 03 12

    • Fix the PermissionDenied callback always being called with Source path even if the Destination is the one that caused the problem.
  • 2016 12 06

    • Fixed bug where dry runs would still create directories
  • 2016 11 27

    • Renamed the copy_file parameter callback to callback_progress for clarity.
  • 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.
  • 2016 03 18

    • Added glob.escape to get_path_casing.
    • Added callbacks for some extra debug output.