MCPcopy
hub / github.com/facebook/docusaurus / getNamespaceString

Function getNamespaceString

packages/docusaurus/src/server/storage.ts:21–29  ·  view source on GitHub ↗
(config: PartialConfig)

Source from the content-addressed store, hash-verified

19}
20
21function getNamespaceString(config: PartialConfig): string | null {
22 if (config.storage.namespace === true) {
23 return automaticNamespace(config);
24 } else if (config.storage.namespace === false) {
25 return null;
26 } else {
27 return config.storage.namespace;
28 }
29}
30
31export function createSiteStorage(config: PartialConfig): SiteStorage {
32 const {type} = config.storage;

Callers 1

createSiteStorageFunction · 0.85

Calls 1

automaticNamespaceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…