Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { When time.Time `json:"when"` Message string `json:"message"` Author string `json:"author"` AuthorEmail string `json:"author_email"` Hash string `json:"hash"` URL string `json:"url"` }
func (Commit) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Commit) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Commit) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Commit) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type FileInfo ¶
type FileInfo struct { Name string Time time.Time Status git.StatusCode }
func (FileInfo) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (FileInfo) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*FileInfo) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*FileInfo) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Local ¶
type Local struct { Origin string `json:"origin"` FolderName string `json:"folder_name"` // The folder name of the repository CurrentBranch string `json:"current_branch"` // The current branch of the repository Clean bool `json:"clean"` // True if all files are in unmodified status UntrackedFiles []FileInfo `json:"untracked"` // Untracked files ChangedFiles []FileInfo `json:"changed"` // Changed files LastModifiedFiles []FileInfo `json:"last_modified"` // Last all modified files Status string `json:"current_status"` LastCommit *Commit `json:"last_commit"` Hostname string `json:"hostname"` FetchTime time.Time `json:"fetch_time"` Description string `json:"description"` Language string `json:"language"` LanguageIcon string `json:"language_icon"` // contains filtered or unexported fields }
func (Local) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Local) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Local) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Local) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.