Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { CommitNumber types.CommitNumber `sql:"commit_number INT PRIMARY KEY"` GitHash string `sql:"git_hash TEXT UNIQUE NOT NULL"` Timestamp int64 `sql:"commit_time INT"` // Unix timestamp, seconds from the epoch. Author string `sql:"author TEXT"` Subject string `sql:"subject TEXT"` }
Commit represents a single commit stored in the database.
JSON annotations make it serialize like the legacy cid.CommitDetail.
Click to show internal directories.
Click to hide internal directories.