head method

Future<ObjectInfo?> head(
  1. String path
)

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);
}