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
iofs: a new package whose New(loc) presents any vfs.Location as a read-only io/fs.FS that also implements fs.StatFS, fs.ReadDirFS, fs.ReadFileFS and fs.SubFS, so locations work with http.FileServerFS, template.ParseFS, fs.WalkDir and fs.Glob. It lists through list.Entries, and passes testing/fstest.TestFS on the mem, os, sftp, ftp, gs, azure and s3 backends (#408).
Fixed
mem: closing a file that was only read or seeked no longer writes its buffered contents back, which could discard changes made through another handle, resurrect a deleted file, and update LastModified.