Skip to main content

list_packages

Function list_packages 

Source
async fn list_packages(
    __arg0: State<Arc<AppState>>,
    __arg1: Query<PackagesQuery>,
    headers: HeaderMap,
) -> Result<Response, AppError>
Expand description

Never 4xx: an unusable credential silently gets the anonymous listing, so probing cannot reveal directory names, and so does a failed credential lookup, since the public catalogue is still right.