Skip to content

Small fixes to GitIdentifiers#429

Merged
garydgregory merged 6 commits intomasterfrom
fix/git-identifiers
Apr 12, 2026
Merged

Small fixes to GitIdentifiers#429
garydgregory merged 6 commits intomasterfrom
fix/git-identifiers

Conversation

@ppkarwasz
Copy link
Copy Markdown
Contributor

@ppkarwasz ppkarwasz commented Apr 12, 2026

This change:

  • Removes the public FileMode.getMode() method, since it is only useful for internal code.
  • Adds a unit test with symbolic links and executable files that runs on UNIX boxes. This test covers all the cases of FileMode.get(Path).

The octal value associated to `FileMode` is not very useful to users, since it is only used internally, when generating the tree id. Therefore we can probably remove the getter for now.
The test will check anyway if symbolic links are supported.
@garydgregory garydgregory merged commit 9e8cb6a into master Apr 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants