Match the names used in other blob implementations
This commit is contained in:
parent
d8a43e1b03
commit
afece1f67f
|
@ -87,13 +87,13 @@ func (me *store) initCompleted() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (me *store) completePieceDirPath() string {
|
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 {
|
func (me *store) path(p metainfo.Piece, completed bool) string {
|
||||||
return filepath.Join(me.baseDir, func() string {
|
return filepath.Join(me.baseDir, func() string {
|
||||||
if completed {
|
if completed {
|
||||||
return "complete"
|
return "completed"
|
||||||
} else {
|
} else {
|
||||||
return "incomplete"
|
return "incomplete"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue