* Get the absolute path to a file within the workspace. * * @param {Workspace} workspace - The workspace. * @param {string} path - The path to the file, relative to the workspace root. * @returns {string} The absolute path to the file.
(workspace, path)
| 37 | * @returns {string} The absolute path to the file. |
| 38 | */ |
| 39 | function getWorkspacePath(workspace, path) { |
| 40 | return resolve(__dirname, workspace.cwd, path); |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Get the contents of a file within the workspace. The file is expected to be |
no outgoing calls
no test coverage detected
searching dependent graphs…