MCPcopy Index your code
hub / github.com/deepnote/deepnote / resolveProjectName

Function resolveProjectName

packages/convert/src/cli.ts:45–55  ·  view source on GitHub ↗
(possibleName?: string)

Source from the content-addressed store, hash-verified

43 } = options
44
45 const resolveProjectName = (possibleName?: string): string => {
46 if (customProjectName) {
47 return customProjectName
48 }
49
50 if (possibleName) {
51 return possibleName
52 }
53
54 return 'Untitled project'
55 }
56
57 const resolveOutputPath = async (outputFilename: string): Promise<string> => {
58 if (customOutputPath) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected