go-ipld-prime
go-ipld-prime copied to clipboard
Golang interfaces for the IPLD Data Model, with core Codecs included, IPLD Schemas support, and some handy functional transforms tools.
Bumps [github.com/ipfs/boxo](https://github.com/ipfs/boxo) from 0.16.0 to 0.18.0. Release notes Sourced from github.com/ipfs/boxo's releases. v0.18.0 Added blockservice now has ContextWithSession and EmbedSessionInContext functions, which allows to embed a session in a context....
Bumps [github.com/ipfs/boxo](https://github.com/ipfs/boxo) from 0.16.0 to 0.18.0. Release notes Sourced from github.com/ipfs/boxo's releases. v0.18.0 Added blockservice now has ContextWithSession and EmbedSessionInContext functions, which allows to embed a session in a context....
Per our conversation in https://github.com/data-preservation-programs/singularity/pull/325, I decided to go ahead and implement a PipeStorage and a TeeStorage, analogous to io.Pipe and io.TeeReader. Also I defined a "FinalizableStorage" based on the...
This PR implements a possible solution for [incrementally modifying IPLD nodes](https://github.com/ipld/go-ipld-prime/issues/320). It uses the same interface as @warpfork's patch [implementation](https://github.com/ipld/go-ipld-prime/pull/350) but accumulates updates and internal state to provide a more...
See https://github.com/ipld/go-ipld-prime/pull/454/commits/c252ec20a1f4aa35e4c9612190bbe797f7d9f90c#diff-01ef2f316335ee972d15e3ff4c13fc77f11790911033d21c03b5155f10284922R242 The method `LookupByNode` on map expects its argument to be a string. If a bad value such as a number is passed in, the error message is unclear...
Noticed while discovering https://github.com/ipfs/go-unixfsnode/issues/54 The contract on `node.Length()` is https://github.com/ipld/go-ipld-prime/blob/65bfa53512f2328d19273e471ce4fd6d964055a2/datamodel/node.go#L131-L133 This means that if there is any sort of lazy loading or computation involved in working with a node that...
```go ts, err := ipld.LoadSchemaBytes([]byte(` type Foo struct { a Int b Int c String } type Bar struct { d Bytes e Bool } type Baz union { |...
Not quite sure what to do with this yet. This probably isn't the "fix", but I need to get this up before I forget the details of how I landed...
* Intended to replace github.com/ipfs/go-ipld-format#ErrNotFound * A new IsNotFound() that uses feature detection rather than type checking so it's compatible with old and new forms. Ref: https://github.com/ipld/go-car/pull/363 Ref: https://github.com/ipld/go-ipld-prime/pull/493 ---...
Understanding the shape of a DAG without having to download it is extremely beneficial in cases where the DAG is too large and or the transport of the entire DAG...