| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Replace `WritablePath._copy_writer` with a new `_write_info()` method. This method allows the target of a `copy()` to preserve metadata. Replace `pathlib._os.CopyWriter` and `LocalCopyWriter` classes with new `copy_file()` and `copy_info()` functions. The `copy_file()` function uses `source_path.info` wherever possible to save on `stat()`s.
| Back | FazBrowse Home | New Git URL |
Replace WritablePath._copy_writer with a new _write_info() method. This method allows the target of a copy() to preserve metadata.
Replace pathlib._os.CopyWriter and LocalCopyWriter classes with new copy_file() and copy_info() functions. The copy_file() function uses source_path.info wherever possible to save on stat()s.