MCPcopy Index your code
hub / github.com/rilldata/rill / stateDirectory

Function stateDirectory

cli/cmd/devtool/start.go:844–850  ·  view source on GitHub ↗

stateDirectory returns the directory where the devtool's state is stored. Deleting this directory will reset the state of the local development environment.

()

Source from the content-addressed store, hash-verified

842// stateDirectory returns the directory where the devtool's state is stored.
843// Deleting this directory will reset the state of the local development environment.
844func stateDirectory() string {
845 dir := lookupDotenv("RILL_DEVTOOL_STATE_DIRECTORY")
846 if dir == "" {
847 dir = "dev-cloud-state"
848 }
849 return dir
850}

Callers 3

startMethod · 0.85
resetStateMethod · 0.85
prepareStripeConfigFunction · 0.85

Calls 1

lookupDotenvFunction · 0.85

Tested by

no test coverage detected