MCPcopy Create free account
hub / github.com/error311/FileRise / getSelectedArchiveFormat

Function getSelectedArchiveFormat

public/js/fileActions.js:89–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89function getSelectedArchiveFormat() {
90 const select = document.getElementById("archiveFormatSelect");
91 const value = select ? String(select.value || "").toLowerCase() : "zip";
92 return ARCHIVE_FORMATS.includes(value) ? value : "zip";
93}
94
95function normalizeArchiveName(raw, format) {
96 let name = String(raw || "").trim();

Callers 2

fileActions.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected