Skip to main content

Module types

Module types 

Source
Expand description

Serde models for the GitHub REST API (only what rootle consumes). UI-facing types (SearchItem, TreeNode, …) live in crate::provider — the trait boundary; these are wire models.

Structs§

CodeItem
CodeRepo
CommitAuthor
CommitFileItem
CommitMeta
CommitParent
CommitResponse
GET /repos/{o}/{r}/commits/{sha} (v1.6, plans/0028): the commit viewer’s detail. status stays raw — GitHub also emits “changed”/“unchanged”, which the provider seam degrades to modified.
MatchRange
OrgRepoItem
RepoItem
RepoMeta
SearchCodeResponse
GET /search/code (Accept: application/vnd.github.text-match+json).
SearchReposResponse
SearchUsersResponse
TextMatch
A matched fragment: snippet text + match positions (byte indices into fragment). Fragments carry no absolute line numbers — the app locates them in the fetched blob for real line numbers.
TreeEntry
TreeResponse
GET /repos/{o}/{r}/git/trees/{branch}?recursive=1
UserItem