Skip to content

Add capture-dir hook - #1059

Draft
shunichironomura wants to merge 1 commit into
mainfrom
issue-1057-capture-dir
Draft

shunichironomura wants to merge 1 commit into
mainfrom
issue-1057-capture-dir

Conversation

@shunichironomura

Copy link
Copy Markdown
Member

Summary

  • Add capture-dir hook for copying, moving, or hashing directory trees
  • Register the hook in the built-in pre/post registries
  • Add tests and documentation for the new hook

Tests

  • just lint
  • just test

Closes #1057

@codecov-commenter

codecov-commenter commented Jul 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.92%. Comparing base (78dc65d) to head (a30318c).

Files with missing lines Patch % Lines
crates/capsula-capture-dir/src/lib.rs 81.44% 41 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1059      +/-   ##
==========================================
+ Coverage   48.74%   50.92%   +2.18%     
==========================================
  Files          38       41       +3     
  Lines        3787     4033     +246     
==========================================
+ Hits         1846     2054     +208     
- Misses       1941     1979      +38     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shunichironomura
shunichironomura force-pushed the issue-1057-capture-dir branch from 7f8ef29 to 239636a Compare July 6, 2026 06:32
@shunichironomura

Copy link
Copy Markdown
Member Author

Need to check the behavior of capsula push

@shunichironomura
shunichironomura marked this pull request as draft July 6, 2026 07:10
@shunichironomura
shunichironomura force-pushed the issue-1057-capture-dir branch from 239636a to a30318c Compare July 7, 2026 08:14

This branch has not been deployed

No deployments
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.

capture-dir hook to capture a directory contents

2 participants