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

feat: cache tree objects #81

Merged
merged 2 commits into from
Jun 21, 2022
Merged

feat: cache tree objects #81

merged 2 commits into from
Jun 21, 2022

Conversation

aymanbagabas
Copy link
Contributor

@aymanbagabas aymanbagabas commented Jun 14, 2022

  • cache repo trees

Describe the pull request

Cache tree objects

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code.

@aymanbagabas aymanbagabas changed the title feat: use lru.Cache and cache trees feat: cache tree objects Jun 14, 2022
@codecov
Copy link

codecov bot commented Jun 14, 2022

Codecov Report

Merging #81 (7430a96) into master (a2567c6) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
+ Coverage   83.39%   83.45%   +0.05%     
==========================================
  Files          26       26              
  Lines        1704     1710       +6     
==========================================
+ Hits         1421     1427       +6     
  Misses        177      177              
  Partials      106      106              

Copy link
Member

@unknwon unknwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

repo_tree.go Outdated Show resolved Hide resolved
repo_tree.go Outdated Show resolved Hide resolved
@unknwon unknwon merged commit 1bcceef into gogs:master Jun 21, 2022
@unknwon
Copy link
Member

unknwon commented Jun 21, 2022

https://github.com/gogs/git-module/releases/tag/v1.6.1 has been tagged for this merge.

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