exists method

  1. @override
Future<bool> exists(
  1. String path
)

Determine if a file exists.

Implementation

@override
Future<bool> exists(String path) {
  return _attempt(
    false,
    () async => await bucket.head(_objectKey(path)) != null,
  );
}