ObjectFileName returns a unique identifier for an object in object storage given its name and keypath
(keypath KeyPath, name string)
| 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 { |
| 348 | return path.Join(path.Join(keypath...), name) |
| 349 | } |
| 350 | |
| 351 | // KeyPathWithPrefix returns a keypath with a prefix |
| 352 | func KeyPathWithPrefix(keypath KeyPath, prefix string) KeyPath { |
no test coverage detected