Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHGf2de24c2b1f6: hg-core: add `files_with_nodes` to `Manifest`
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/hg-core/src/revlog/manifest.rs | ||
---|---|---|
61 | Docstring should mention that it iterates over the files and the hashes. | |
69 | Maybe explain the 40 number and/or reuse from a constant? | |
70 | Possibly this indexing could panic in the case of corrupted data, maybe we should have a more explicit panic message. I'm not certain as doing this everywhere would probably not be worth it. What do you think? |
Docstring should mention that it iterates over the files and the hashes.