-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ls: rewrite tree-based folder display
The original code made some wrong assumptions about how the pathnames are organized. Instead of forward slashes, backslashes are used within group names to separate "folders" from "subfolders". Site names might have embedded forward slashes (or backslashes) and should not be interpreted. Instead of trying to re-parse out the structure from the fullname, use what we know about the structure to build the tree directly. While at it, tokenize foldernames to handle backslashes properly. This fixes github issue #10. Signed-off-by: Bob Copeland <copeland@lastpass.com>
- Loading branch information
Bob Copeland
committed
Dec 30, 2015
1 parent
3e8f514
commit ed892c0
Showing
1 changed file
with
97 additions
and
24 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