From: Matt Joiner Date: Thu, 1 Oct 2015 05:41:30 +0000 (+1000) Subject: Match the names used in other blob implementations X-Git-Tag: v1.0.0~1029 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=afece1f67fc023031149375141e57a21873e6f8b;p=btrtrc.git Match the names used in other blob implementations --- diff --git a/data/blob/store.go b/data/blob/store.go index 2a853619..96eda1fe 100644 --- a/data/blob/store.go +++ b/data/blob/store.go @@ -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" }