Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

resolve.go
package db

// ResolveDBPath returns the inputPath if non-empty, otherwise returns the
// fallback path. This is used by tools that accept an explicit DBPath in
// their Input struct but need a default when not provided.
func ResolveDBPath(inputPath, fallback string) string {
	if inputPath != "" {
		return inputPath
	}
	return fallback
}