chore: linter: embeddedstructfieldcheck

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-23 22:48:54 +02:00
parent df8d8c276e
commit 7c9d06b4d2
36 changed files with 54 additions and 11 deletions
+3
View File
@@ -19,6 +19,7 @@ type database interface {
type mtimeFS struct {
Filesystem
chtimes func(string, time.Time, time.Time) error
db database
folderID string
@@ -170,6 +171,7 @@ func (f *mtimeFS) load(name string) (ondisk, virtual time.Time) {
type mtimeFileInfo struct {
FileInfo
mtime time.Time
}
@@ -179,6 +181,7 @@ func (m mtimeFileInfo) ModTime() time.Time {
type mtimeFile struct {
File
fs *mtimeFS
}