MoveRoot returns a new RootFolderLocation that defines the root at the new path. The parameter should be relative to the current root.
(relativePath string)
| 41 | // MoveRoot returns a new RootFolderLocation that defines the root at the new path. The parameter should be relative to |
| 42 | // the current root. |
| 43 | func (root RootFolderLocation) MoveRoot(relativePath string) RootFolderLocation { |
| 44 | return RootFolderLocation{filepath.Clean(filepath.Join(root.path, relativePath))} |
| 45 | } |
| 46 | |
| 47 | // GetAbsolutePath returns the absolute path of the given path, which should be relative to the project's root |
| 48 | // folder. |
no outgoing calls
no test coverage detected