MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getFileLanguageSignature

Function getFileLanguageSignature

src/lib/editorManager.js:1340–1345  ·  view source on GitHub ↗
(file, extensionSignature)

Source from the content-addressed store, hash-verified

1338 }
1339
1340 function getFileLanguageSignature(file, extensionSignature) {
1341 return JSON.stringify({
1342 mode: file?.currentMode || "text",
1343 extensions: extensionSignature,
1344 });
1345 }
1346
1347 function hasLanguageSupport(state) {
1348 try {

Callers 1

applyFileToEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected