storage/Plugin: add "prefixes"

This commit is contained in:
Max Kellermann
2021-10-06 19:38:46 +02:00
parent 5d35983298
commit ef24cfa523
9 changed files with 73 additions and 5 deletions

View File

@@ -425,7 +425,10 @@ CreateNfsStorageURI(EventLoop &event_loop, const char *base)
server.c_str(), mount);
}
static constexpr const char *nfs_prefixes[] = { "nfs://", nullptr };
const StoragePlugin nfs_storage_plugin = {
"nfs",
nfs_prefixes,
CreateNfsStorageURI,
};