+23
-2
appview/knotclient/signer.go
+23
-2
appview/knotclient/signer.go
···func (s *SignedClient) SyncRepoFork(ownerDid, source, name, branch string) (*http.Response, error) {
···+func (s *SignedClient) RepoForkAheadBehind(ownerDid, source, name, branch, hiddenRef string) (*http.Response, error) {func (s *SignedClient) SyncRepoFork(ownerDid, source, name, branch string) (*http.Response, error) {
+1
-15
appview/pages/pages.go
+1
-15
appview/pages/pages.go
······
······
+21
-46
appview/state/repo.go
+21
-46
appview/state/repo.go
···············-forkSyncableResp, err := signedClient.RepoForkSyncable(user.Did, string(f.RepoAt), repoInfo.Name, f.Ref, hiddenRef)······
···············+forkSyncableResp, err := signedClient.RepoForkAheadBehind(user.Did, string(f.RepoAt), repoInfo.Name, f.Ref, hiddenRef)······
+3
-1
appview/state/router.go
+3
-1
appview/state/router.go
+1
-1
knotserver/handler.go
+1
-1
knotserver/handler.go
+15
-6
knotserver/routes.go
+15
-6
knotserver/routes.go
······
······
+15
-1
types/repo.go
+15
-1
types/repo.go
···