head method
Metadata without the body; null when the scoped key is absent.
Implementation
Future<ObjectInfo?> head(String path) async {
validateKey(path);
final info = await _backend.head(key(path));
return info == null ? null : _unscoped(info);
}