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

Function getFileExt

public/js/fileListView.js:545–548  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

543}
544
545function getFileExt(name) {
546 const dot = name.lastIndexOf(".");
547 return dot >= 0 ? name.slice(dot + 1).toLowerCase() : "";
548}
549
550async function fillFileSnippet(file, snippetEl) {
551 if (!snippetEl) return;

Callers 2

fillFileSnippetFunction · 0.85
fillHoverPreviewForRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected