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

Function getExt

public/js/fileEditor.js:74–74  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

72// ---- ONLYOFFICE integration -----------------------------------------------
73
74function getExt(name) { const i = name.lastIndexOf('.'); return i >= 0 ? name.slice(i + 1).toLowerCase() : ''; }
75
76// Cache OO capabilities (enabled flag + ext list) from /api/onlyoffice/status.php
77let __ooCaps = { enabled: false, exts: new Set(), fetched: false, docsOrigin: null };

Callers 1

shouldUseOnlyOfficeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected