MCPcopy
hub / github.com/cacjs/cac / getFileName

Function getFileName

src/utils.ts:145–148  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

143}
144
145export function getFileName(input: string): string {
146 const m = /([^\\/]+)$/.exec(input)
147 return m ? m[1] : ''
148}
149
150export function camelcaseOptionName(name: string): string {
151 // Camelcase the option name

Callers 1

parseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…