MCPcopy Create free account
hub / github.com/dolthub/doltgresql / MoveRoot

Method MoveRoot

testing/generation/utils/root_folder.go:43–45  ·  view source on GitHub ↗

MoveRoot returns a new RootFolderLocation that defines the root at the new path. The parameter should be relative to the current root.

(relativePath string)

Source from the content-addressed store, hash-verified

41// MoveRoot returns a new RootFolderLocation that defines the root at the new path. The parameter should be relative to
42// the current root.
43func (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.

Callers 2

mainFunction · 0.45
GetCommandDocsFolderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected