-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: Check if a theme repo is installed (#20)
Updates Repo::compare() to check if themes are already installed and update the theme directory accordingly in repo config. Adds Repo::installed_themes() which returns a list of all the existing themes by their names. It looks for "themes" directory under a given config directory path for installed themes. The symlinks are traversed to check the destination to be a theme directory. The "current" theme directory is ignored.
- Loading branch information
Showing
3 changed files
with
108 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ pretty_env_logger = "0.4.0" | |
colored = "2.0.0" | ||
git2 = "0.13.17" | ||
edit-distance = "2.1.0" | ||
tempfile = "3.2.0" |
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