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 FileLock::rename method to update path after filesystem rename
The existing FileLock struct tracks a file path but doesn't provide a way
to update that path when the underlying file is moved. This causes issues
when code renames a locked file and then tries to access it through the
FileLock, as the internal path becomes stale.
Add a rename() method that performs both the filesystem rename operation
and updates the internal path, ensuring the FileLock remains valid after
the file is moved.
0 commit comments