mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-04 10:25:17 -06:00
d0340a1160ca4bded5a01d58f5379f2bd19faf87
Arv pointed out that there's really no difference between a named union struct field and a struct field whose type is a struct that contains only an anonymous union. This patch makes the parser replace the TypeRef of UnionKind in each named union field with a TypeRef of StructKind that contains only an anon union. Fixes Issue #286
Noms
Noms is a content-addressable, immutable, peer-to-peer datastore for structured data.
In other words, noms is git for data.
This repository will contain the reference implementation of the noms protocol, and will eventually be open sourced.
This includes:
- Go wrappers for all the core noms types
- Support for generating Go types from Nom schema definitions
- Chunking and dechunking
- Serialization and deserialization
- Chunkstore interface as well as several sample implementations
- Search support
- Sample applications
Get the code
git clone https://github.com/attic-labs/noms
Build
go build ./...
go test ./...
Run
cd <noms>/clients/counter
go build
./counter -fs="/tmp/foo" -ds="foo"
./counter -fs="/tmp/foo" -ds="foo"
./counter -fs="/tmp/foo" -ds="foo"
rejoice!
You can see the raw data:
ls /tmp/foo
cat /tmp/foo/root
You can also explore the data visually. Follow the instructions in clients/explore.
Description
Releases
126
Languages
Go
84%
Shell
15.1%
JavaScript
0.3%
Java
0.1%