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 {
|
||||
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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue