Commit Graph

17 Commits

Author SHA1 Message Date
Taylor Blau
5d733435b7 git/odb: shorten Close() in decode() 2017-06-06 14:08:47 -06:00
Taylor Blau
9ec96864a6 git/odb: close blobs after writing them 2017-06-06 10:55:43 -06:00
Taylor Blau
1d5ef4c427 git/odb: don't close Blob types after decoding 2017-06-06 10:55:40 -06:00
Taylor Blau
84bb173dea git/odb: teach *ObjectDatabase.Root() to return filesystem root 2017-06-01 16:30:06 -06:00
Taylor Blau
2872e4d52c git/odb: fix documentation on Close() method 2017-05-31 16:12:44 -06:00
Taylor Blau
f0dddc2301 git/odb: remove panic() in favor of returned error 2017-05-31 15:55:59 -06:00
Taylor Blau
39d387a057 git/odb: fallback to *git.ObjectScanner for "missing" objects 2017-05-31 14:14:15 -06:00
Taylor Blau
aaf8a459b9 git/odb: store a *git.ObjectScanner on *ObjectDatabase instances 2017-05-31 14:14:15 -06:00
Taylor Blau
70818ebe30 git/odb: extract open() to return *ObjectReader for given SHA 2017-05-31 14:14:14 -06:00
Taylor Blau
812ec2ed50 git/odb: rewind temporary buffer before saving to disk 2017-05-25 13:32:09 -06:00
Taylor Blau
2c6ddd6c56 git/odb: rename NewReader to NewObjectReader 2017-05-16 15:43:55 -06:00
Taylor Blau
c72121dc80 git/odb: make Storer (and implementations) package private 2017-05-16 15:29:03 -06:00
Taylor Blau
83f5bea8af git/odb: replace Storer.Create with Storer.Store 2017-05-16 15:02:37 -06:00
Taylor Blau
e0c4f60a37 git/odb: make Commit and WriteCommit accessible from ObjectDatabase 2017-05-15 16:05:47 -06:00
Taylor Blau
8cfdd20313 git/odb: make Tree and WriteTree accessible from ObjectDatabase 2017-05-15 16:05:47 -06:00
Taylor Blau
0952b0fc0c git/odb: make Blob and WriteBlob accessible from ObjectDatabase 2017-05-15 16:05:47 -06:00
Taylor Blau
f498b7b180 git/odb: introduce *odb.ObjectDatabase type 2017-05-15 16:05:47 -06:00