This commit is contained in:
Nuno Cruces
2025-08-13 03:31:12 +01:00
parent 4b154a842c
commit d8880e4cee
9 changed files with 11 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ func (s *SeekingReaderAt) Size() (int64, error) {
return s.r.Seek(0, io.SeekEnd)
}
// ReadAt implements [io.Closer].
// Close implements [io.Closer].
func (s *SeekingReaderAt) Close() error {
s.l.Lock()
defer s.l.Unlock()

View File

@@ -23,7 +23,7 @@ func (FS) Open(name string) (fs.File, error) {
return os.OpenFile(name, os.O_RDONLY, 0)
}
// ReadFileFS implements [fs.StatFS].
// Stat implements [fs.StatFS].
func (FS) Stat(name string) (fs.FileInfo, error) {
return os.Stat(name)
}