MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / buildSettingsExportFilename

Function buildSettingsExportFilename

background.js:933–936  ·  view source on GitHub ↗
(date = new Date())

Source from the content-addressed store, hash-verified

931}
932
933function buildSettingsExportFilename(date = new Date()) {
934 const pad = (value) => String(value).padStart(2, '0');
935 return `${SETTINGS_EXPORT_FILENAME_PREFIX}-${date.getFullYear()}${pad(date.getMonth() + 1)}${pad(date.getDate())}-${pad(date.getHours())}${pad(date.getMinutes())}${pad(date.getSeconds())}.json`;
936}
937
938async function exportSettingsBundle() {
939 const settings = await getPersistedSettings();

Callers 1

exportSettingsBundleFunction · 0.85

Calls 1

padFunction · 0.85

Tested by

no test coverage detected