]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Match the names used in other blob implementations
authorMatt Joiner <anacrolix@gmail.com>
Thu, 1 Oct 2015 05:41:30 +0000 (15:41 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 1 Oct 2015 05:41:30 +0000 (15:41 +1000)
data/blob/store.go

index 2a853619693cd624f38fd679e42940205d448df4..96eda1feb8cf121d405bd064790d074be22b4d9c 100644 (file)
@@ -87,13 +87,13 @@ func (me *store) initCompleted() {
 }
 
 func (me *store) completePieceDirPath() string {
-       return filepath.Join(me.baseDir, "complete")
+       return filepath.Join(me.baseDir, "completed")
 }
 
 func (me *store) path(p metainfo.Piece, completed bool) string {
        return filepath.Join(me.baseDir, func() string {
                if completed {
-                       return "complete"
+                       return "completed"
                } else {
                        return "incomplete"
                }