compactDirForUser returns the directory to be used to download and compact the blocks for a user
(userID string)
| 1254 | |
| 1255 | // compactDirForUser returns the directory to be used to download and compact the blocks for a user |
| 1256 | func (c *Compactor) compactDirForUser(userID string) string { |
| 1257 | return filepath.Join(c.compactRootDir(), userID) |
| 1258 | } |
| 1259 | |
| 1260 | // compactRootDir returns the root directory to be used to download and compact blocks |
| 1261 | func (c *Compactor) compactRootDir() string { |