lib/persistentqueue: typo fix after aea6df8197

This commit is contained in:
Aliaksandr Valialkin 2023-03-27 20:05:38 -07:00
parent 6f5bbf096a
commit fd7efad69f
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -201,7 +201,7 @@ func (fq *FastQueue) MustReadBlock(dst []byte) ([]byte, bool) {
}
}
// Dir returns the directory for persistent queue.
// Dirname returns the directory name for persistent queue.
func (fq *FastQueue) Dirname() string {
return filepath.Base(fq.pq.dir)
}