Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DataRobotRepoPath is the path to the DataRobot CLI folder relative to CWD DataRobotRepoPath = ".datarobot/cli" // QuickstartScriptPath is the path to the quickstart scripts directory relative to CWD QuickstartScriptPath = ".datarobot/cli/bin" )
Variables ¶
This section is empty.
Functions ¶
func FindRepoRoot ¶
FindRepoRoot walks up the directory tree from the current directory looking for a .datarobot/cli folder to determine if we're inside a DataRobot repository. It stops searching when it reaches the user's home directory or finds a .git folder. Returns the path to the repository root if found, or an empty string if not found.
func IsInRepo ¶
func IsInRepo() bool
IsInRepo checks if the current directory is inside a DataRobot repository by looking for a .datarobot/cli folder in the current or parent directories.
func IsInRepoRoot ¶ added in v0.2.0
func IsInRepoRoot() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.