tangled
alpha
login
or
join now
julien.rbrt.fr
/
tangled-core
forked from
tangled.org/core
0
fork
atom
Monorepo for Tangled — https://tangled.org
0
fork
atom
overview
issues
pulls
pipelines
wip
oppi.li
10 months ago
bab4ae32
647e4868
+2
-3
2 changed files
expand all
collapse all
unified
split
appview
signer.go
knotclient
unsigned.go
-1
appview/signer.go
···
1
-
···
0
+2
-2
knotclient/unsigned.go
···
120
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
121
}
122
123
-
func (u *UnsignedClient) DefaultBranch(ownerDid, repoName string) (*types.RepoBranchResponse, error) {
124
method := http.MethodGet
125
endpoint := fmt.Sprintf("/%s/%s/branches/default", ownerDid, repoName)
126
127
-
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
128
}
129
130
func (u *UnsignedClient) Capabilities() (*types.Capabilities, error) {
···
120
return do[types.RepoBranchResponse](u, method, endpoint, nil, nil)
121
}
122
123
+
func (u *UnsignedClient) DefaultBranch(ownerDid, repoName string) (*types.RepoDefaultBranchResponse, error) {
124
method := http.MethodGet
125
endpoint := fmt.Sprintf("/%s/%s/branches/default", ownerDid, repoName)
126
127
+
return do[types.RepoDefaultBranchResponse](u, method, endpoint, nil, nil)
128
}
129
130
func (u *UnsignedClient) Capabilities() (*types.Capabilities, error) {