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:
@@ -261,7 +261,7 @@ func newMtimeFS(path string, db database, options ...MtimeFSOption) *mtimeFS {
|
||||
|
||||
func newMtimeFSWithWalk(path string, db database, options ...MtimeFSOption) (*mtimeFS, *walkFilesystem) {
|
||||
fs := NewFilesystem(FilesystemTypeBasic, path, NewMtimeOption(db, "", options...))
|
||||
wfs, _ := unwrapFilesystem(fs, filesystemWrapperTypeWalk)
|
||||
mfs, _ := unwrapFilesystem(fs, filesystemWrapperTypeMtime)
|
||||
return mfs.(*mtimeFS), wfs.(*walkFilesystem)
|
||||
wfs, _ := unwrapFilesystem[*walkFilesystem](fs)
|
||||
mfs, _ := unwrapFilesystem[*mtimeFS](fs)
|
||||
return mfs, wfs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user