- 
                Notifications
    
You must be signed in to change notification settings  - Fork 9
 
Report the type of change observed in FileWatcher #87
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
Report the type of change observed in FileWatcher #87
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose some improvements to the API.
825baca    to
    6754e71      
    Compare
  
    | 
           Updated based on a couple of suggestions from Luca.  | 
    
To gradually get rid of the former typing. Signed-off-by: Daniel Zullo <[email protected]>
8e8bf93    to
    d3445a1      
    Compare
  
    | 
           Updated based on latest suggestions from Luca  | 
    
b98f075    to
    fa9eb8d      
    Compare
  
    | 
           @leandro-lucarella-frequenz I added a trivial fix to correct typos and format in the releases notes (not related to this PR). Can you please check it and re-approve it if LGTY?  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one super minor comment left, but approving anyway because it is just style and for a file that will be cleaned up right after this is merged.
fa9eb8d    to
    9477555      
    Compare
  
    Previously, the FileWatcher only provided information of the path of the changed file, without indicating whether the change was a creation, modification, or deletion. This commit improves the functionality of the FileWatcher by adding the ability to report the type of change observed. This additional information can be useful when tracking changes to files and understanding the context of the change. Signed-off-by: Daniel Zullo <[email protected]>
Signed-off-by: Daniel Zullo <[email protected]>
9477555    to
    7469704      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides agreeing to @Marenz suggestion, for me it is fine if it's left for a different PR so we can merge this sooner than later, as it is out of the scope of this PR.
          
 Ok, I'll merge this PR as it currently is and create an issue to address #87 (comment)  | 
    
Previously, the FileWatcher only provided information on the path of the changed file, without indicating whether the change was a creation, modification, or deletion. This commit improves the functionality of the FileWatcher by adding the ability to report the type of change observed. This additional information can be useful when tracking changes to files and understanding the context of the change.
Fixes #53