-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pathlib instead of beets's path handling
Internally, all paths are represented by `Path` instances instead of `bytes`. We replace the following beets utility functions with standard library versions that handle `Path`s. - `beets.util.mkdirall` -> `Path.mkdir` - `beets.util.link` -> `Path.symlink_to` - `beets.util.copy` -> `shutil.copfyile` - `beets.util.samefile` -> `Path.__eq__ `
- Loading branch information
1 parent
2bf85f7
commit 31a82a0
Showing
3 changed files
with
80 additions
and
101 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