Documentation
¶
Index ¶
- func SaveMetadata(projectPath string, m *Metadata) error
- func WithLock(projectPath string, fn func(*Metadata) error) error
- type Metadata
- func (m *Metadata) GetGistID(sessionID string) string
- func (m *Metadata) GetNextSessionID(sessionID string) string
- func (m *Metadata) GetPrevSessionID(sessionID string) string
- func (m *Metadata) LinkSession(latestID, newID string)
- func (m *Metadata) ResolveLatestSession(startSessionID string) (latestSession, prevSession string)
- func (m *Metadata) SetGistID(sessionID, gistID string)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveMetadata ¶
Types ¶
type Metadata ¶
func LoadMetadata ¶
func (*Metadata) GetNextSessionID ¶
func (*Metadata) GetPrevSessionID ¶
func (*Metadata) LinkSession ¶
func (*Metadata) ResolveLatestSession ¶
Click to show internal directories.
Click to hide internal directories.