getVisibility method

  1. @override
Future<String> getVisibility(
  1. String path
)

Get the visibility for the given path.

Implementation

@override
Future<String> getVisibility(String path) async {
  // R2 public access is configured at the bucket/custom-domain boundary;
  // there is no per-object ACL in the Workers binding API.
  return Filesystem.visibilityPrivate;
}