Skip to main content

objects_list

Function objects_list 

Source
pub async fn objects_list(
    profile_id: ProfileId,
    bucket: BucketId,
    prefix: String,
    continuation_token: Option<String>,
    force: Option<bool>,
    store: State<'_, ProfileStoreHandle>,
    pool: State<'_, S3ClientPoolHandle>,
    cache: State<'_, CacheHandle>,
    _channel: AppHandle,
) -> Result<ListPage, AppError>
Expand description

List objects under prefix using delimiter="/".

  • Only the first page (continuation_token = None) is cached.
  • Subsequent pages always call S3 directly.
  • Refuses to serve data when the profile has not been validated.