https://github.com/google/cayley
- HEAD
- refs/heads/feature/search
- refs/heads/fix-recursive
- refs/heads/linkedql/client
- refs/heads/linkedql/fromless-steps
- refs/heads/linkedql/full-linked-model
- refs/heads/linkedql/project-step
- refs/heads/linkedql/use-standard-isomorphic
- refs/heads/master
- refs/heads/neo4j-browser
- refs/reviewable/pr323/r1
- refs/reviewable/pr323/r2
- refs/reviewable/pr378/r1
- refs/reviewable/pr378/r2
- refs/reviewable/pr378/r3
- refs/reviewable/pr378/r4
- refs/reviewable/pr378/r5
- refs/reviewable/pr466/r1
- refs/reviewable/pr466/r2
- refs/reviewable/pr468/r1
- refs/reviewable/pr468/r10
- refs/reviewable/pr468/r11
- refs/reviewable/pr468/r12
- refs/reviewable/pr468/r13
- refs/reviewable/pr468/r14
- refs/reviewable/pr468/r15
- refs/reviewable/pr468/r16
- refs/reviewable/pr468/r17
- refs/reviewable/pr468/r18
- refs/reviewable/pr468/r19
- refs/reviewable/pr468/r2
- refs/reviewable/pr468/r20
- refs/reviewable/pr468/r21
- refs/reviewable/pr468/r22
- refs/reviewable/pr468/r3
- refs/reviewable/pr468/r4
- refs/reviewable/pr468/r5
- refs/reviewable/pr468/r6
- refs/reviewable/pr468/r7
- refs/reviewable/pr468/r8
- refs/reviewable/pr468/r9
- refs/reviewable/pr470/r1
- refs/reviewable/pr473/r1
- refs/reviewable/pr473/r2
- refs/reviewable/pr474/r1
- refs/reviewable/pr474/r2
- refs/reviewable/pr531/r1
- refs/reviewable/pr531/r2
- refs/reviewable/pr531/r3
- refs/reviewable/pr534/r1
- refs/reviewable/pr534/r2
- refs/reviewable/pr585/r1
- refs/reviewable/pr585/r2
- refs/reviewable/pr585/r3
- refs/reviewable/pr585/r4
- refs/reviewable/pr610/r1
- refs/reviewable/pr615/r1
- refs/reviewable/pr634/r1
- refs/reviewable/pr634/r10
- refs/reviewable/pr634/r11
- refs/reviewable/pr634/r12
- refs/reviewable/pr634/r13
- refs/reviewable/pr634/r14
- refs/reviewable/pr634/r15
- refs/reviewable/pr634/r16
- refs/reviewable/pr634/r17
- refs/reviewable/pr634/r18
- refs/reviewable/pr634/r19
- refs/reviewable/pr634/r2
- refs/reviewable/pr634/r20
- refs/reviewable/pr634/r21
- refs/reviewable/pr634/r3
- refs/reviewable/pr634/r4
- refs/reviewable/pr634/r5
- refs/reviewable/pr634/r6
- refs/reviewable/pr634/r7
- refs/reviewable/pr634/r8
- refs/reviewable/pr634/r9
- refs/reviewable/pr635/r1
- refs/reviewable/pr635/r10
- refs/reviewable/pr635/r2
- refs/reviewable/pr635/r3
- refs/reviewable/pr635/r4
- refs/reviewable/pr635/r5
- refs/reviewable/pr635/r6
- refs/reviewable/pr635/r7
- refs/reviewable/pr635/r8
- refs/reviewable/pr635/r9
- refs/reviewable/pr636/r1
- refs/reviewable/pr637/r1
- refs/reviewable/pr637/r2
- refs/reviewable/pr637/r3
- refs/reviewable/pr639/r1
- refs/reviewable/pr639/r2
- refs/reviewable/pr639/r3
- refs/reviewable/pr640/r1
- refs/reviewable/pr640/r2
- refs/reviewable/pr641/r1
- refs/reviewable/pr641/r2
- refs/reviewable/pr673/r1
- refs/reviewable/pr673/r2
- refs/reviewable/pr679/r1
- refs/reviewable/pr679/r2
- refs/reviewable/pr680/r1
- refs/reviewable/pr681/r1
- refs/reviewable/pr682/r1
- refs/reviewable/pr728/r1
- refs/reviewable/pr728/r2
- refs/reviewable/pr728/r3
- refs/reviewable/pr728/r4
- refs/reviewable/pr751/r1
- refs/reviewable/pr751/r2
- refs/reviewable/pr751/r3
- refs/reviewable/pr760/r1
- refs/reviewable/pr760/r2
- refs/reviewable/pr760/r3
- refs/reviewable/pr760/r4
- refs/reviewable/pr762/r1
- refs/reviewable/pr762/r2
- refs/reviewable/pr762/r3
- refs/reviewable/pr762/r4
- refs/reviewable/pr762/r5
- refs/reviewable/pr763/r1
- refs/reviewable/pr763/r2
- refs/reviewable/pr763/r3
- refs/reviewable/pr763/r4
- refs/reviewable/pr763/r5
- refs/reviewable/pr766/r1
- refs/reviewable/pr766/r2
- refs/reviewable/pr766/r3
- refs/reviewable/pr766/r4
- refs/reviewable/pr766/r5
- refs/reviewable/pr766/r6
- refs/reviewable/pr766/r7
- refs/reviewable/pr766/r8
- refs/reviewable/pr766/r9
- refs/reviewable/pr767/r1
- refs/reviewable/pr773/r1
- refs/reviewable/pr774/r1
- refs/reviewable/pr775/r1
- refs/reviewable/pr776/r1
- refs/reviewable/pr778/r1
- refs/reviewable/pr780/r1
- refs/reviewable/pr780/r2
- refs/reviewable/pr780/r3
- refs/reviewable/pr780/r4
- refs/reviewable/pr781/r1
- refs/reviewable/pr785/r1
- refs/reviewable/pr785/r2
- refs/reviewable/pr785/r3
- refs/reviewable/pr785/r4
- refs/reviewable/pr788/r1
- refs/reviewable/pr789/r1
- refs/reviewable/pr789/r2
- refs/reviewable/pr796/r1
- refs/reviewable/pr796/r2
- refs/reviewable/pr796/r3
- refs/reviewable/pr796/r4
- refs/reviewable/pr796/r5
- refs/reviewable/pr796/r6
- refs/reviewable/pr796/r7
- refs/reviewable/pr799/r1
- refs/reviewable/pr800/r1
- refs/reviewable/pr802/r1
- refs/reviewable/pr803/r1
- refs/reviewable/pr808/r1
- refs/reviewable/pr809/r1
- refs/reviewable/pr810/r1
- refs/reviewable/pr811/r1
- refs/reviewable/pr814/r1
- refs/reviewable/pr816/r1
- refs/reviewable/pr819/r1
- refs/reviewable/pr821/r1
- refs/reviewable/pr821/r2
- refs/reviewable/pr821/r3
- refs/reviewable/pr821/r4
- refs/reviewable/pr821/r5
- refs/reviewable/pr822/r1
- refs/reviewable/pr822/r2
- refs/reviewable/pr822/r3
- refs/reviewable/pr822/r4
- refs/reviewable/pr822/r5
- refs/reviewable/pr822/r6
- refs/reviewable/pr822/r7
- refs/reviewable/pr827/r1
- refs/reviewable/pr831/r1
- refs/reviewable/pr832/r1
- refs/reviewable/pr834/r1
- refs/reviewable/pr836/r1
- refs/reviewable/pr836/r2
- refs/reviewable/pr836/r3
- refs/reviewable/pr838/r1
- refs/reviewable/pr839/r1
- refs/reviewable/pr840/r1
- refs/reviewable/pr840/r2
- refs/reviewable/pr842/r1
- refs/reviewable/pr842/r2
- refs/reviewable/pr843/r1
- refs/reviewable/pr846/r1
- refs/reviewable/pr847/r1
- refs/reviewable/pr847/r2
- refs/reviewable/pr847/r3
- refs/reviewable/pr847/r4
- refs/reviewable/pr848/r1
- refs/reviewable/pr849/r1
- refs/reviewable/pr853/r1
- refs/reviewable/pr857/r1
- refs/reviewable/pr858/r1
- refs/reviewable/pr859/r1
- refs/reviewable/pr860/r1
- refs/reviewable/pr867/r1
- refs/reviewable/pr869/r1
- refs/reviewable/pr871/r1
- refs/reviewable/pr872/r1
- refs/reviewable/pr873/r1
- refs/reviewable/pr875/r1
- refs/reviewable/pr876/r1
- refs/reviewable/pr876/r2
- refs/reviewable/pr876/r3
- refs/reviewable/pr876/r4
- refs/reviewable/pr876/r5
- refs/reviewable/pr878/r1
- refs/reviewable/pr878/r10
- refs/reviewable/pr878/r11
- refs/reviewable/pr878/r12
- refs/reviewable/pr878/r13
- refs/reviewable/pr878/r14
- refs/reviewable/pr878/r15
- refs/reviewable/pr878/r16
- refs/reviewable/pr878/r2
- refs/reviewable/pr878/r3
- refs/reviewable/pr878/r4
- refs/reviewable/pr878/r5
- refs/reviewable/pr878/r6
- refs/reviewable/pr878/r7
- refs/reviewable/pr878/r8
- refs/reviewable/pr878/r9
- refs/reviewable/pr879/r1
- refs/reviewable/pr881/r1
- refs/reviewable/pr881/r2
- refs/reviewable/pr883/r1
- refs/reviewable/pr886/r1
- refs/reviewable/pr887/r1
- refs/reviewable/pr888/r1
- refs/reviewable/pr888/r2
- refs/reviewable/pr888/r3
- refs/reviewable/pr888/r4
- refs/reviewable/pr888/r5
- refs/reviewable/pr888/r6
- refs/reviewable/pr888/r7
- refs/reviewable/pr888/r8
- refs/reviewable/pr890/r1
- refs/reviewable/pr893/r1
- refs/reviewable/pr893/r2
- refs/reviewable/pr893/r3
- refs/reviewable/pr893/r4
- refs/reviewable/pr893/r5
- refs/reviewable/pr893/r6
- refs/reviewable/pr893/r7
- refs/reviewable/pr893/r8
- refs/reviewable/pr895/r1
- refs/reviewable/pr895/r2
- refs/reviewable/pr895/r3
- refs/reviewable/pr895/r4
- refs/reviewable/pr895/r5
- refs/reviewable/pr896/r1
- refs/reviewable/pr896/r2
- refs/reviewable/pr896/r3
- refs/reviewable/pr897/r1
- refs/reviewable/pr897/r2
- refs/reviewable/pr897/r3
- refs/reviewable/pr897/r4
- refs/reviewable/pr897/r5
- refs/reviewable/pr898/r1
- refs/reviewable/pr898/r2
- refs/reviewable/pr900/r1
- refs/reviewable/pr900/r2
- refs/reviewable/pr901/r1
- refs/reviewable/pr902/r1
- refs/reviewable/pr902/r2
- refs/reviewable/pr902/r3
- refs/reviewable/pr902/r4
- refs/reviewable/pr902/r5
- refs/reviewable/pr903/r1
- refs/reviewable/pr904/r1
- refs/reviewable/pr904/r10
- refs/reviewable/pr904/r11
- refs/reviewable/pr904/r12
- refs/reviewable/pr904/r13
- refs/reviewable/pr904/r14
- refs/reviewable/pr904/r15
- refs/reviewable/pr904/r16
- refs/reviewable/pr904/r17
- refs/reviewable/pr904/r18
- refs/reviewable/pr904/r19
- refs/reviewable/pr904/r2
- refs/reviewable/pr904/r20
- refs/reviewable/pr904/r21
- refs/reviewable/pr904/r22
- refs/reviewable/pr904/r23
- refs/reviewable/pr904/r24
- refs/reviewable/pr904/r3
- refs/reviewable/pr904/r4
- refs/reviewable/pr904/r5
- refs/reviewable/pr904/r6
- refs/reviewable/pr904/r7
- refs/reviewable/pr904/r8
- refs/reviewable/pr904/r9
- refs/reviewable/pr905/r1
- refs/reviewable/pr905/r2
- refs/reviewable/pr905/r3
- refs/reviewable/pr905/r4
- refs/reviewable/pr906/r1
- refs/reviewable/pr907/r1
- refs/reviewable/pr908/r1
- refs/reviewable/pr908/r2
- refs/reviewable/pr909/r1
- refs/reviewable/pr912/r1
- refs/reviewable/pr913/r1
- refs/reviewable/pr914/r1
- refs/reviewable/pr916/r1
- refs/reviewable/pr920/r1
- refs/reviewable/pr921/r1
- refs/reviewable/pr922/r1
- refs/reviewable/pr925/r1
- refs/reviewable/pr926/r1
- refs/reviewable/pr927/r1
- refs/reviewable/pr928/r1
- refs/reviewable/pr929/r1
- refs/reviewable/pr930/r1
- refs/reviewable/pr931/r1
- refs/reviewable/pr934/r1
- refs/reviewable/pr940/r1
- refs/reviewable/pr941/r1
- refs/reviewable/pr942/r1
- refs/reviewable/pr944/r1
- refs/reviewable/pr948/r1
- refs/reviewable/pr948/r2
- refs/reviewable/pr948/r3
- refs/reviewable/pr950/r1
- refs/reviewable/pr951/r1
- refs/reviewable/pr953/r1
- refs/reviewable/pr953/r2
- refs/reviewable/pr954/r1
- refs/reviewable/pr954/r2
- refs/reviewable/pr954/r3
- refs/reviewable/pr954/r4
- refs/reviewable/pr954/r5
- refs/reviewable/pr959/r1
- refs/reviewable/pr959/r2
- refs/reviewable/pr962/r1
- refs/reviewable/pr964/r1
- refs/reviewable/pr965/r1
- refs/reviewable/pr968/r1
- refs/reviewable/pr968/r2
- refs/reviewable/pr969/r1
- refs/reviewable/pr970/r1
- refs/reviewable/pr972/r1
- refs/reviewable/pr974/r1
- refs/reviewable/pr975/r1
- refs/reviewable/pr979/r1
- refs/reviewable/pr981/r1
- refs/reviewable/pr983/r1
- refs/reviewable/pr985/r1
- refs/tags/v0.3.0
- refs/tags/v0.3.1
- refs/tags/v0.4.0
- refs/tags/v0.4.1
- refs/tags/v0.5.0
- refs/tags/v0.7.0
- refs/tags/v0.7.1
- refs/tags/v0.7.2
- refs/tags/v0.7.3
- refs/tags/v0.7.4
- refs/tags/v0.7.4-2
- refs/tags/v0.7.5
- refs/tags/v0.7.6
- refs/tags/v0.7.7
- 165649a9b6d945572d84005fd415b9dc14455911
Cook and download a directory from the Software Heritage Vault
You have requested the cooking of the directory with identifier None into a standard tar.gz archive
.
Are you sure you want to continue ?
Download a directory from the Software Heritage Vault
You have requested the download of the directory with identifier None as a standard tar.gz archive
.
Are you sure you want to continue ?
Cook and download a revision from the Software Heritage Vault
You have requested the cooking of the history heading to revision with identifier swh:1:rev:165649a9b6d945572d84005fd415b9dc14455911 into a bare git archive
.
Are you sure you want to continue ?
Download a revision from the Software Heritage Vault
You have requested the download of the history heading to revision with identifier swh:1:rev:165649a9b6d945572d84005fd415b9dc14455911 as a bare git archive
.
Are you sure you want to continue ?
Invalid Email !
The provided email is not well-formed.
Download link has expired
The requested archive is no longer available for download from the Software Heritage Vault.
Do you want to cook it again ?
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
linkedql: move main types to a single file
package cayley
import (
"github.com/cayleygraph/cayley/graph"
"github.com/cayleygraph/cayley/graph/iterator"
_ "github.com/cayleygraph/cayley/graph/memstore"
"github.com/cayleygraph/cayley/query/path"
_ "github.com/cayleygraph/cayley/writer"
"github.com/cayleygraph/quad"
)
var (
StartMorphism = path.StartMorphism
StartPath = path.StartPath
NewTransaction = graph.NewTransaction
)
type Iterator = iterator.Shape
type QuadStore = graph.QuadStore
type QuadWriter = graph.QuadWriter
type Path = path.Path
type Handle struct {
graph.QuadStore
graph.QuadWriter
}
func (h *Handle) Close() error {
err := h.QuadWriter.Close()
h.QuadStore.Close()
return err
}
func Triple(subject, predicate, object interface{}) quad.Quad {
return Quad(subject, predicate, object, nil)
}
func Quad(subject, predicate, object, label interface{}) quad.Quad {
return quad.Make(subject, predicate, object, label)
}
func NewGraph(name, dbpath string, opts graph.Options) (*Handle, error) {
qs, err := graph.NewQuadStore(name, dbpath, opts)
if err != nil {
return nil, err
}
qw, err := graph.NewQuadWriter("single", qs, nil)
if err != nil {
return nil, err
}
return &Handle{qs, qw}, nil
}
func NewMemoryGraph() (*Handle, error) {
return NewGraph("memstore", "", nil)
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...