docs(tvix/nar-bridge): fix comment
We run narInfo.Check to ensure this parses to a StorePath, not nixpath.Check. Change-Id: Id91183128df74a60d98fa2a31174cd879194c34d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9550 Reviewed-by: Connor Brewster <cbrewster@hey.com> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
61e5a63fe1
commit
a2c81de4cb
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ func (p *PathInfoServiceServer) Get(ctx context.Context, getPathInfoRequest *sto
|
|||
// currently the root node has no name yet.
|
||||
outPath, err := storepath.FromAbsolutePath(narInfo.StorePath)
|
||||
if err != nil {
|
||||
// unreachable due to nixpath.Check()
|
||||
// unreachable due to narInfo.Check()
|
||||
panic(err)
|
||||
}
|
||||
newName := []byte(nixbase32.EncodeToString(outPath.Digest) + "-" + string(outPath.Name))
|
||||
|
|
Loading…
Reference in a new issue