You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add file creation handling and tests in SampleUpdater #67
The code now checks if the specified file exists before appending a message. If it doesn't exist, it tries to create it, handling related errors accordingly. Corresponding tests to verify the new functionality have also been added, effectively ensuring its correct operation.
The failure to update spam for non-existing file was a side effect from duplication check #63
fix test typo from prev commit
Refactor file replacement method and clean up tests
This commit adds a new `fileReplace` method in `spam.go` as a workaround for "invalid cross-device link" error and refactors the original file replacement