back interdiff of round #4 and #3

appview,knotserver: immutable nix flakeref link header #741

open
opened by boltless.me targeting master from push-ptrrwwvnkmxq
REVERTED
api/tangled/repoarchive.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.archive 6 + 7 + import ( 8 + "bytes" 9 + "context" 10 + 11 + "github.com/bluesky-social/indigo/lex/util" 12 + ) 13 + 14 + const ( 15 + RepoArchiveNSID = "sh.tangled.repo.archive" 16 + ) 17 + 18 + // RepoArchive calls the XRPC method "sh.tangled.repo.archive". 19 + // 20 + // format: Archive format 21 + // prefix: Prefix for files in the archive 22 + // ref: Git reference (branch, tag, or commit SHA) 23 + // repo: Repository identifier in format 'did:plc:.../repoName' 24 + func RepoArchive(ctx context.Context, c util.LexClient, format string, prefix string, ref string, repo string) ([]byte, error) { 25 + buf := new(bytes.Buffer) 26 + 27 + params := map[string]interface{}{} 28 + if format != "" { 29 + params["format"] = format 30 + } 31 + if prefix != "" { 32 + params["prefix"] = prefix 33 + } 34 + params["ref"] = ref 35 + params["repo"] = repo 36 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.archive", params, nil, buf); err != nil { 37 + return nil, err 38 + } 39 + 40 + return buf.Bytes(), nil 41 + }
ERROR
appview/repo/archive.go

Failed to calculate interdiff for this file.

ERROR
appview/repo/router.go

Failed to calculate interdiff for this file.

ERROR
appview/state/git_http.go

Failed to calculate interdiff for this file.

ERROR
appview/state/proxy_knot.go

Failed to calculate interdiff for this file.

ERROR
appview/state/router.go

Failed to calculate interdiff for this file.

ERROR
go.mod

Failed to calculate interdiff for this file.

ERROR
go.sum

Failed to calculate interdiff for this file.

ERROR
knotserver/archive.go

Failed to calculate interdiff for this file.

ERROR
knotserver/git/git.go

Failed to calculate interdiff for this file.

ERROR
knotserver/router.go

Failed to calculate interdiff for this file.

ERROR
knotserver/xrpc/repo_archive.go

Failed to calculate interdiff for this file.

ERROR
knotserver/xrpc/xrpc.go

Failed to calculate interdiff for this file.

ERROR
lexicons/repo/archive.json

Failed to calculate interdiff for this file.

ERROR
nix/gomod2nix.toml

Failed to calculate interdiff for this file.