Add separate normalization for registry paths
This commit is contained in:
parent
a7cc7d5fd3
commit
e7a8647c17
4 changed files with 65 additions and 4 deletions
|
@ -50,7 +50,7 @@ pub fn normalize(path: &str) -> String {
|
|||
path
|
||||
}
|
||||
|
||||
pub fn too_broad(path: &str) -> bool {
|
||||
fn too_broad(path: &str) -> bool {
|
||||
use placeholder::{BASE, HOME, ROOT, STORE_USER_ID, WIN_APP_DATA, WIN_DIR, WIN_DOCUMENTS, XDG_CONFIG, XDG_DATA};
|
||||
|
||||
for item in placeholder::ALL {
|
||||
|
|
Reference in a new issue