Return the filesystem path for heap segment *seg_id*.
(self, seg_id)
| 266 | # ------------------------------------------------------------------ |
| 267 | |
| 268 | def _segment_path(self, seg_id): |
| 269 | """Return the filesystem path for heap segment *seg_id*.""" |
| 270 | if seg_id == 0: |
| 271 | return self.heap_path |
| 272 | return f"{self.heap_path}.{seg_id}" |
| 273 | |
| 274 | def _active_segment_id(self): |
| 275 | """Return the ID of the segment that should receive the next append.""" |
no outgoing calls