dtstate

package
v0.10.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BumpRecentProject

func BumpRecentProject(projectID string)

func SaveCurrentScreePath

func SaveCurrentScreePath(currentScreenPath string)

func SaveCurrentScreePathSync

func SaveCurrentScreePathSync(currentScreenPath string)

func SaveState

func SaveState(state *DatatugState) (err error)

Types

type DatatugState

type DatatugState struct {
	RecentProjects    []*RecentProject `json:"recent_projects"`
	CurrentScreenPath string           `yaml:"current_screen_path,omitempty" json:"current_screen_path,omitempty"`
}

func GetDatatugState

func GetDatatugState() (state *DatatugState, err error)

type RecentProject

type RecentProject struct {
	ID        string `json:"id"`
	Timestamp string `json:"timestamp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL