MCPcopy Create free account
hub / github.com/arctic-cli/interface / folderNameVariants

Function folderNameVariants

packages/ui/src/components/file-icon.tsx:547–550  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

545 .pop() ?? ""
546
547const folderNameVariants = (name: string) => {
548 const n = name.toLowerCase()
549 return [n, `.${n}`, `_${n}`, `__${n}__`]
550}
551
552const dottedSuffixesDesc = (name: string) => {
553 const n = name.toLowerCase()

Callers 1

chooseIconNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected