MCPcopy Create free account
hub / github.com/bcc-code/directus-schema-sync / exportManager

Function exportManager

src/index.ts:77–87  ·  view source on GitHub ↗
(dataOnly = false)

Source from the content-addressed store, hash-verified

75 }
76
77 const exportManager = async (dataOnly = false) => {
78 if (dataOnly && env.SCHEMA_SYNC_DATA_ONLY !== true) {
79 return await createExportManager(true);
80 }
81
82 if (!_exportManager) {
83 _exportManager = await createExportManager(!!env.SCHEMA_SYNC_DATA_ONLY);
84 }
85
86 return _exportManager;
87 };
88
89 const updateMeta = condenseAction(async (saveToDb = true) => {
90 const meta = await ExportHelper.updateExportMeta();

Callers 2

attachExportersFunction · 0.85
registerHookFunction · 0.85

Calls 1

createExportManagerFunction · 0.85

Tested by

no test coverage detected