cilog

package
v1.112.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(baseDir string) string

func Save

func Save(baseDir string, l *Log) error

Types

type Log

type Log struct {
	SchemaVersion int             `json:"schemaVersion"`
	Session       Session         `json:"session"`
	Entries       []verdict.Entry `json:"entries"`
	// contains filtered or unexported fields
}

func Load

func Load(baseDir string) (*Log, error)

func New

func New(command string) *Log

func (*Log) Append

func (l *Log) Append(e verdict.Entry)

type Session

type Session struct {
	StartedAt string `json:"startedAt"`
	Command   string `json:"command"`
}

Jump to

Keyboard shortcuts

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