github.com/go-kivik/kivik/v4@v4.3.2/x/fsdb/testdata/TestCompact_clean_up_old_revs_with_atts (about) 1 { 2 "compact_oldrevsatt/.foo/5-conflict.yaml": { 3 "size": 204, 4 "content": "_rev: 5-conflict\n_revisions:\n start: 5\n ids:\n - conflict\n - jkl\n - ghi\n - def\n - abc\n_attachments:\n bar.txt:\n content_type: text/plain\n revpos: 3\n" 5 }, 6 "compact_oldrevsatt/.foo/5-conflict/bar.txt": { 7 "size": 13, 8 "content": "keep me, too\n" 9 }, 10 "compact_oldrevsatt/foo.yaml": { 11 "size": 322, 12 "content": "_rev: 5-mno\n_revisions:\n start: 5\n ids:\n - mno\n - jkl\n - ghi\n - def\n - abc\n_attachments:\n foo.txt:\n content_type: text/plain\n revpos: 5\n bar.txt:\n content_type: text/plain\n revpos: 3\n qux.txt:\n content_type: text/plain\n revpos: 4\n" 13 }, 14 "compact_oldrevsatt/foo/bar.txt": { 15 "size": 13, 16 "content": "keep me, too\n" 17 }, 18 "compact_oldrevsatt/foo/foo.txt": { 19 "size": 8, 20 "content": "Keep me\n" 21 }, 22 "compact_oldrevsatt/foo/qux.txt": { 23 "size": 12, 24 "content": "new content\n" 25 } 26 }