Support completion for paths with multiple dots (#1640)

* refactor: expand_path and expand_ndots now work for any string.

* refactor: refactor test and add new ones.

* refactor: convert expanded to owned string

* feat: pub export of expand_ndots

* feat: add completion for ndots in fs-shell
This commit is contained in:
Kevin Del Castillo
2020-04-22 23:17:38 -05:00
committed by GitHub
parent 818171cc2c
commit 9ec2aca86f
4 changed files with 100 additions and 35 deletions

View File

@ -8,5 +8,6 @@ mod signature;
pub use crate::files::Files;
pub use crate::lite_parse::{lite_parse, LiteBlock};
pub use crate::parse::{classify_block, garbage};
pub use crate::path::expand_ndots;
pub use crate::shapes::shapes;
pub use crate::signature::{Signature, SignatureRegistry};