├── .gitignore ├── README.md ├── head-index.md ├── history-stream.js ├── index.js ├── indexes ├── generic.js ├── links.js ├── stats.js └── warnings.js ├── indexing.js ├── indexing.txt ├── lib ├── get-range.js ├── stream-formatting.js └── wrap.js ├── package.json ├── reduce ├── compare.js ├── default-validator.js ├── find-heads.js ├── get-latest-revision.js ├── get-original.js ├── heads-stream.js ├── is-incomplete.js ├── is-original.js ├── msg-map.js ├── notes.txt ├── past-and-present-heads.js └── strip.js ├── test ├── dependent-views │ └── stats.js ├── integration │ ├── dependent-views.js │ ├── get-latest-revision.js │ ├── get.js │ ├── heads.js │ ├── history.js │ ├── indexing.js │ ├── links.js │ ├── messages_by.js │ ├── updates.js │ ├── wait-for-index.js │ └── warnings.js ├── test-helper.js └── unit │ ├── find-heads.js │ ├── get-range.js │ └── heads-stream.js └── updates-stream.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/README.md -------------------------------------------------------------------------------- /head-index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/head-index.md -------------------------------------------------------------------------------- /history-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/history-stream.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/index.js -------------------------------------------------------------------------------- /indexes/generic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/indexes/generic.js -------------------------------------------------------------------------------- /indexes/links.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/indexes/links.js -------------------------------------------------------------------------------- /indexes/stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/indexes/stats.js -------------------------------------------------------------------------------- /indexes/warnings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/indexes/warnings.js -------------------------------------------------------------------------------- /indexing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/indexing.js -------------------------------------------------------------------------------- /indexing.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/indexing.txt -------------------------------------------------------------------------------- /lib/get-range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/lib/get-range.js -------------------------------------------------------------------------------- /lib/stream-formatting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/lib/stream-formatting.js -------------------------------------------------------------------------------- /lib/wrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/lib/wrap.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/package.json -------------------------------------------------------------------------------- /reduce/compare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/compare.js -------------------------------------------------------------------------------- /reduce/default-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/default-validator.js -------------------------------------------------------------------------------- /reduce/find-heads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/find-heads.js -------------------------------------------------------------------------------- /reduce/get-latest-revision.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/get-latest-revision.js -------------------------------------------------------------------------------- /reduce/get-original.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/get-original.js -------------------------------------------------------------------------------- /reduce/heads-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/heads-stream.js -------------------------------------------------------------------------------- /reduce/is-incomplete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/is-incomplete.js -------------------------------------------------------------------------------- /reduce/is-original.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/is-original.js -------------------------------------------------------------------------------- /reduce/msg-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/msg-map.js -------------------------------------------------------------------------------- /reduce/notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/notes.txt -------------------------------------------------------------------------------- /reduce/past-and-present-heads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/past-and-present-heads.js -------------------------------------------------------------------------------- /reduce/strip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/reduce/strip.js -------------------------------------------------------------------------------- /test/dependent-views/stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/dependent-views/stats.js -------------------------------------------------------------------------------- /test/integration/dependent-views.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/dependent-views.js -------------------------------------------------------------------------------- /test/integration/get-latest-revision.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/get-latest-revision.js -------------------------------------------------------------------------------- /test/integration/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/get.js -------------------------------------------------------------------------------- /test/integration/heads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/heads.js -------------------------------------------------------------------------------- /test/integration/history.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/history.js -------------------------------------------------------------------------------- /test/integration/indexing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/indexing.js -------------------------------------------------------------------------------- /test/integration/links.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/links.js -------------------------------------------------------------------------------- /test/integration/messages_by.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/messages_by.js -------------------------------------------------------------------------------- /test/integration/updates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/updates.js -------------------------------------------------------------------------------- /test/integration/wait-for-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/wait-for-index.js -------------------------------------------------------------------------------- /test/integration/warnings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/integration/warnings.js -------------------------------------------------------------------------------- /test/test-helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/test-helper.js -------------------------------------------------------------------------------- /test/unit/find-heads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/unit/find-heads.js -------------------------------------------------------------------------------- /test/unit/get-range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/unit/get-range.js -------------------------------------------------------------------------------- /test/unit/heads-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/test/unit/heads-stream.js -------------------------------------------------------------------------------- /updates-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/regular/ssb-revisions/HEAD/updates-stream.js --------------------------------------------------------------------------------