New Features
- Add
Search::prefix_directory()
andSearch::longest_common_directory()
.
That way it's possible to use the common-prefix safely in a situation
where a directory is required, while offering the ability to maximize
the common prefix at the expense of an additional check to see if
the longest possible directory is actually accessible. - add
str::precompose_bstr()
for convenience - Add
Search::directory_matches_prefix()
to see if the prefix of a pathspec matches.
That way it's possible to see if some paths can never match. - add
Search::can_match_relative_path()
.
This way it's possible to match partial input against a pathspec
to see if this root would have a chance to actually match.
Bug Fixes
-
assure that
..
patterns don't end up being.
that matches nothing
...if the current-dir is one level in.Now such
.
is special and means to match everything. -
Return
ExactSizeIterator
where applicable.
That way, the caller can obtain the amount of patterns more easily.
New Features (BREAKING)
- add
search::MatchKind
, which is available for anysearch::Match
.
With it the caller can learn how or why the pathspec matched,
which allows to make decisions based on it that are relevant
to the user interface.
Commit Statistics
- 12 commits contributed to the release over the course of 30 calendar days.
- 36 days passed between releases.
- 7 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Prepare changelogs prior to release (f2e111f)
- Merge branch 'status' (bb48c4c)
- Assure that
..
patterns don't end up being.
that matches nothing (5f21e24) - Add
Search::prefix_directory()
andSearch::longest_common_directory()
. (57f0a24) - Merge branch 'dirwalk' (face359)
- Adjust gitignore files with precious declarations (ae86a6a)
- Add
str::precompose_bstr()
for convenience (9e3acde) - Return
ExactSizeIterator
where applicable. (ea2e5bb) - Add
Search::directory_matches_prefix()
to see if the prefix of a pathspec matches. (f520a51) - Add
search::MatchKind
, which is available for anysearch::Match
. (021d4c1) - Add
Search::can_match_relative_path()
. (e409e8d) - Release gix-path v0.10.5 (b8cba96)