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
@wmcnamee-coreweave we should be able to add support to it on both osfs implementations. But we won't be able to add it to the billy.Filesystem interface, due to the Liskov Substitution Principle.
I was interested in atomic file writes using Billy interface, but I found that file.Sync method is not implemented.
e.g.
https://github.com/google/renameio/blob/master/tempfile.go#L150
https://github.com/tailscale/tailscale/blob/main/atomicfile/atomicfile.go#L44
https://github.com/natefinch/atomic/blob/master/atomic.go#L43
https://pkg.go.dev/os#File.Sync
Can this be implemented or a helper function added?
The text was updated successfully, but these errors were encountered: