forked from tangled.org/core
this repo has no description

appview: pages: introduce `ForkStatus` construct

authored by brookjeynes.dev and committed by Tangled 1235c6c5 42155d93

Changed files
+14
appview
pages
+14
appview/pages/pages.go
··· 402 402 return p.executePlain("repo/fragments/repoDescription", w, params) 403 403 } 404 404 405 + type ForkStatus int 406 + 407 + const ( 408 + UpToDate ForkStatus = 0 409 + FastForwardable = 1 410 + Conflict = 2 411 + MissingBranch = 3 412 + ) 413 + 414 + type ForkInfo struct { 415 + IsFork bool 416 + Status ForkStatus 417 + } 418 + 405 419 type RepoIndexParams struct { 406 420 LoggedInUser *oauth.User 407 421 RepoInfo repoinfo.RepoInfo