Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spec for Tree#find_blob and expect mode to work #16

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

dometto
Copy link
Member

@dometto dometto commented Jan 15, 2023

Proposed changes to the spec to account for some features we want in gollum/gollum-lib#437:

  • Previously, the mode for each of the Blobs in the result of Tree#blobs was not being set. This means that symlinks aren't adequately detected.
  • Add a method Tree#find_blob that searches a single blob by name, instead of looping over all blobs in a tree.

@dometto dometto merged commit 3b0c862 into gollum:master Mar 28, 2023
@dometto dometto deleted the improve_tree_blobs branch March 28, 2023 15:37
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.

1 participant