New Features
- Add
From<gix_object::tree::EntryKind> for entry::Mode
That way it's easier to add new entries to the index. - add
State::remove_(tree|resolve_undo)()
to remove possibly outdated extensions. - add
State::remove_entry_at_index(pos)
by position.
Other
-
Expand
from_fs
doc
This expands and slightly corrects thegix_index::entry::from_fs
documentation:-
To be more precise about the expectation of where the metadata
come from (it needn't specifically be thesymlink_metadata
function, and it is sometimes even anfstat
-like function
rather than anlstat
-like function, though notstat
). -
To mention that default values are used for unavailable data.
-
To mention that truncation is sometimes performed on some fields.
Comments are also updated regarding some cases of truncation: why
casting down to 32-bit should be okay forst_dev
andst_ino
(see #1817). -
Changed (BREAKING)
- adjust error return types to handle collision detection
This does mean a lot of churn across the tree, but the change is
usually just an adjustment to variants of an existing error type,
so I expect that most downstream users will require little to no
adaption for this change. - use separate error type for I/O hashing operations
Prepare for hashing becoming fallible. - adjust hash verification return types for the common interface
This mostly just affects return types – using
git_hash::verify::Error
instead of bespoke duplicated versions
thereof, and occasionally returning anObjectId
instead of()
for convenience.
Commit Statistics
- 22 commits contributed to the release.
- 7 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- Uncategorized
- Update changelogs prior to release (38dff41)
- Merge pull request #1915 from emilazy/push-qvyqmopsoltr (4660f7a)
- Refactor (4501086)
- Prepare
gix-index
end-of-index extension parsing for SHA256. (f879654) - Migrate hashing API users to fallible versions (fbf6cc8)
- Adjust error return types to handle collision detection (5095f44)
- Use separate error type for I/O hashing operations (4f2b649)
- Adjust hash verification return types for the common interface (54e5764)
- Migrate all hashing API users to
gix_hash::Hasher::finalize()
(4e935ce) - Migrate all hashing API users to
gix_hash
(baa1430) - Merge pull request #1907 from EliahKagan/run-ci/raw (7b17da6)
- Drop trailing
,
just before)
on same line in function calls (66a5ae1) - Use raw literals for more strings with backslashes (01bd76d)
- Merge pull request #1854 from GitoxideLabs/montly-report (16a248b)
- Thanks clippy (8e96ed3)
- Merge pull request #1837 from GitoxideLabs/improvements (b4fe425)
- Add
From<gix_object::tree::EntryKind> for entry::Mode
(de4375a) - Add
State::remove_(tree|resolve_undo)()
to remove possibly outdated extensions. (668cb12) - Add
State::remove_entry_at_index(pos)
by position. (8173096) - Merge pull request #1818 from EliahKagan/from-fs-doc (14d6b8d)
- Expand
from_fs
doc (426c669) - Merge pull request #1778 from GitoxideLabs/new-release (8df0db2)