getArtifactsByLocation method

Future<List<ArtifactResponse>> getArtifactsByLocation(
  1. String location
)
inherited

Finds artifacts by their file location.

location is the file path or URI to search for. Returns all artifacts pointing to this location across all revisions.

Implementation

Future<List<ArtifactResponse>> getArtifactsByLocation(String location) async {
  final request = GetArtifactsByLocationRequest()..location = location;
  final response = await stub.getArtifactsByLocation(
    request,
    options: callOptions,
  );
  return response.artifacts;
}