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

109 update the database when an event occurs on the fs #119

Merged
merged 19 commits into from
Feb 12, 2024

Conversation

majent4
Copy link
Contributor

@majent4 majent4 commented Feb 9, 2024

I had to move some logic in file_info mod:

  • hash compute
  • path canonicalization

And create a new function that serialize a FileInfo object.

Create and remove events are handled, modify event will be implemented in the future, I face some issues on macOS.

@majent4 majent4 marked this pull request as ready for review February 11, 2024 13:04
Copy link
Contributor

@Cavonstavant Cavonstavant left a comment

Choose a reason for hiding this comment

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

Small changes needed, everything else is good !

src/file_info.rs Outdated Show resolved Hide resolved
src/file_info.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@Cavonstavant Cavonstavant added enhancement New feature or request pre-beta Pre beta related issues & features labels Feb 12, 2024
Copy link
Contributor

@Bootoyka Bootoyka left a comment

Choose a reason for hiding this comment

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

lgtm

@Bootoyka Bootoyka merged commit 49c5213 into main Feb 12, 2024
3 checks passed
majent4 added a commit that referenced this pull request Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pre-beta Pre beta related issues & features
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants