Merge branch 'main' into v2
* main: fix(gui): fix previous commit fix(gui): mark unseen disconnected devices as inactive (#10048) fix(strings): differentiate setup(n) and set(v) up (#10024) chore(fs): changes to allow Filesystem to be implemented externally (#10040) chore(config): resolve primary STUN servers via SRV record (fixes #10029) (#10031) build: push artifacts to Azure (#10044) chore(gui, man, authors): update docs, translations, and contributors
This commit is contained in:
+1
-5
@@ -143,10 +143,6 @@ func (f *mtimeFS) underlying() (Filesystem, bool) {
|
||||
return f.Filesystem, true
|
||||
}
|
||||
|
||||
func (*mtimeFS) wrapperType() filesystemWrapperType {
|
||||
return filesystemWrapperTypeMtime
|
||||
}
|
||||
|
||||
func (f *mtimeFS) save(name string, ondisk, virtual time.Time) {
|
||||
if f.caseInsensitive {
|
||||
name = UnicodeLowercaseNormalized(name)
|
||||
@@ -209,7 +205,7 @@ func (f mtimeFile) unwrap() File {
|
||||
}
|
||||
|
||||
func GetMtimeMapping(fs Filesystem, file string) (ondisk, virtual time.Time) {
|
||||
fs, ok := unwrapFilesystem(fs, filesystemWrapperTypeMtime)
|
||||
fs, ok := unwrapFilesystem[*mtimeFS](fs)
|
||||
if !ok {
|
||||
return time.Time{}, time.Time{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user