Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Optimize fold_home_dir | mo8it | 2024-03-19 |
| | |||
* | Optimization of tilde expansion (#9709) | Mo | 2024-02-24 |
| | | | | | | | | | | | | | | | | * Use next and avoid a redundant prefix strip * Avoid allocations Especially when `expand_tilde` is claled on a path that doesn't contain a tilde. * Add a test * Use Into<Cow<…>> * Put the expand_tilde test at the end of the file * Remove unused importsw | ||
* | Create helix-stdx crate for stdlib extensions | Michael Davis | 2024-01-18 |
helix-stdx is meant to carry extensions to the stdlib or low-level dependencies that are useful in all other crates. This commit starts with all of the path functions from helix-core and the CWD tracking that lived in helix-loader. The CWD tracking in helix-loader was previously unable to call the canonicalization functions in helix-core. Switching to our custom canonicalization code should make no noticeable difference though since `std::env::current_dir` returns a canonicalized path with symlinks resolved (at least on unix). |