KeyPathForBlock returns a correctly ordered keypath given a block id and tenantid
(blockID uuid.UUID, tenantID string)
| 340 | |
| 341 | // KeyPathForBlock returns a correctly ordered keypath given a block id and tenantid |
| 342 | func KeyPathForBlock(blockID uuid.UUID, tenantID string) KeyPath { |
| 343 | return []string{tenantID, blockID.String()} |
| 344 | } |
| 345 | |
| 346 | // ObjectFileName returns a unique identifier for an object in object storage given its name and keypath |
| 347 | func ObjectFileName(keypath KeyPath, name string) string { |
searching dependent graphs…