/*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
}
}
+StoreFileSystem *
+StoreFileSystem::FindByType(const char *type)
+{
+ for (const auto fs: FileSystems()) {
+ if (strcasecmp(type, fs->type()) == 0)
+ return fs;
+ }
+ return nullptr;
+}
+
/* no filesystem is required to export statistics */
void
StoreFileSystem::registerWithCacheManager(void)