(rawPath string)
| 14 | ) |
| 15 | |
| 16 | func IsStorageSignEnabled(rawPath string) bool { |
| 17 | storage := op.GetBalancedStorage(rawPath) |
| 18 | return storage != nil && storage.GetStorage().EnableSign |
| 19 | } |
| 20 | |
| 21 | func CanRead(user *model.User, meta *model.Meta, path string) bool { |
| 22 | // nil user is treated as internal/system context and bypasses per-user read restrictions |
no test coverage detected