1(*cdb.Document)({
2 ID: (string) (len=3) "bar",
3 Revisions: (cdb.Revisions) (len=2) {
4 (*cdb.Revision)({
5 RevMeta: (cdb.RevMeta) {
6 Rev: (cdb.RevID) {
7 Seq: (int64) 2,
8 Sum: (string) (len=32) "61afc657ebc34041a2568f5d5ab9fc71",
9 original: (string) ""
10 },
11 Deleted: (*bool)(<nil>),
12 Attachments: (map[string]*cdb.Attachment) (len=1) {
13 (string) (len=7) "foo.txt": (*cdb.Attachment)({
14 ContentType: (string) (len=10) "text/plain",
15 RevPos: (*int64)(1),
16 Stub: (bool) true,
17 Follows: (bool) false,
18 Content: ([]uint8) <nil>,
19 Size: (int64) 13,
20 Digest: (string) (len=28) "md5-EMUuEXyjHv9UCGbpjbnwxQ==",
21 path: (string) "",
22 fs: (*filesystem.defaultFS)({
23 }),
24 outputStub: (bool) true
25 })
26 },
27 RevHistory: (*cdb.RevHistory)({
28 Start: (int64) 2,
29 IDs: ([]string) (len=2) {
30 (string) (len=32) "61afc657ebc34041a2568f5d5ab9fc71",
31 (string) (len=3) "xxx"
32 }
33 }),
34 isMain: (bool) false,
35 path: (string) "",
36 fs: (*filesystem.defaultFS)({
37 })
38 },
39 Data: (map[string]interface {}) {
40 },
41 options: (map[string]interface {}) <nil>
42 }),
43 (*cdb.Revision)({
44 RevMeta: (cdb.RevMeta) {
45 Rev: (cdb.RevID) {
46 Seq: (int64) 1,
47 Sum: (string) (len=3) "xxx",
48 original: (string) (len=5) "1-xxx"
49 },
50 Deleted: (*bool)(<nil>),
51 Attachments: (map[string]*cdb.Attachment) (len=1) {
52 (string) (len=7) "foo.txt": (*cdb.Attachment)({
53 ContentType: (string) (len=10) "text/plain",
54 RevPos: (*int64)(1),
55 Stub: (bool) false,
56 Follows: (bool) false,
57 Content: ([]uint8) <nil>,
58 Size: (int64) 13,
59 Digest: (string) (len=28) "md5-EMUuEXyjHv9UCGbpjbnwxQ==",
60 path: (string) (len=X) "<tmpdir>/bar/foo.txt",
61 fs: (*filesystem.defaultFS)({
62 }),
63 outputStub: (bool) false
64 })
65 },
66 RevHistory: (*cdb.RevHistory)({
67 Start: (int64) 1,
68 IDs: ([]string) (len=1) {
69 (string) (len=3) "xxx"
70 }
71 }),
72 isMain: (bool) true,
73 path: (string) (len=X) "<tmpdir>/bar.yaml",
74 fs: (*filesystem.defaultFS)({
75 })
76 },
77 Data: (map[string]interface {}) {
78 },
79 options: (map[string]interface {}) <nil>
80 })
81 },
82 RevsInfo: ([]cdb.RevInfo) <nil>,
83 RevHistory: (*cdb.RevHistory)(<nil>),
84 Options: (map[string]interface {}) <nil>,
85 cdb: (*cdb.FS)({
86 fs: (*filesystem.defaultFS)({
87 }),
88 root: (string) (len=X) "<tmpdir>"
89 })
90})
View as plain text