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
···
+
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
+
+
package tangled
+
+
// schema: sh.tangled.repo.archive
+
+
import (
+
"bytes"
+
"context"
+
+
"github.com/bluesky-social/indigo/lex/util"
+
)
+
+
const (
+
RepoArchiveNSID = "sh.tangled.repo.archive"
+
)
+
+
// RepoArchive calls the XRPC method "sh.tangled.repo.archive".
+
//
+
// format: Archive format
+
// prefix: Prefix for files in the archive
+
// ref: Git reference (branch, tag, or commit SHA)
+
// repo: Repository identifier in format 'did:plc:.../repoName'
+
func RepoArchive(ctx context.Context, c util.LexClient, format string, prefix string, ref string, repo string) ([]byte, error) {
+
buf := new(bytes.Buffer)
+
+
params := map[string]interface{}{}
+
if format != "" {
+
params["format"] = format
+
}
+
if prefix != "" {
+
params["prefix"] = prefix
+
}
+
params["ref"] = ref
+
params["repo"] = repo
+
if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.archive", params, nil, buf); err != nil {
+
return nil, err
+
}
+
+
return buf.Bytes(), nil
+
}
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.