MCPcopy Create free account
hub / github.com/MigoXLab/coderio / resolveAppSrc

Method resolveAppSrc

src/utils/workspace.ts:104–106  ·  view source on GitHub ↗

* Resolve the absolute path to the source code directory * @param paths - The workspace structure * @param srcSubPath - The subpath to the source code directory * @returns The absolute path to the source code directory

(paths: WorkspaceStructure, srcSubPath: string)

Source from the content-addressed store, hash-verified

102 * @returns The absolute path to the source code directory
103 */
104 resolveAppSrc(paths: WorkspaceStructure, srcSubPath: string): string {
105 return path.join(paths.app, 'src', srcSubPath);
106 }
107
108 /**
109 * Resolve component alias path to absolute filesystem path.

Callers 7

extractComponentPathsFunction · 0.80
generateProtocolFunction · 0.80
generateFrameFunction · 0.80
generateComponentFunction · 0.80
getAssetFilesListFunction · 0.80
injectRootComponentToAppFunction · 0.80
workspace.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected