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

refactor(virtualfs): implement overlayfs #137

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

appcypher
Copy link
Owner

  • Add overlayfs implementation
  • Modify VirtualFileSystem trait to use &Path instead of impl AsRef
  • Add async-recursion dependency for recursive operations
  • Add comprehensive test suite for OverlayFileSystem operations including:
    • Copy-up behavior for writes and renames
    • Whiteout file handling for removals
    • Metadata preservation during operations
    • Top layer modifications
  • Add new error variant for overlay filesystem validation
  • Remove redundant remove_directory method (consolidated into remove)
  • Change write_file to take Pin<Box> for better ergonomics

- Add overlayfs implementation
- Modify VirtualFileSystem trait to use &Path instead of impl AsRef<Path>
- Add async-recursion dependency for recursive operations
- Add comprehensive test suite for OverlayFileSystem operations including:
  - Copy-up behavior for writes and renames
  - Whiteout file handling for removals
  - Metadata preservation during operations
  - Top layer modifications
- Add new error variant for overlay filesystem validation
- Remove redundant remove_directory method (consolidated into remove)
- Change write_file to take Pin<Box<dyn AsyncRead>> for better ergonomics
@appcypher appcypher merged commit 4d3c352 into main Feb 14, 2025
@appcypher appcypher deleted the appcypher/virtualfs-overlayfs branch February 14, 2025 21:12
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