MCPcopy Create free account
hub / github.com/apache/datafusion / list_all_files

Function list_all_files

datafusion/datasource/src/url.rs:1037–1043  ·  view source on GitHub ↗

Runs "list_prefixed_files" with no prefix to list all files and returns their paths Panic's on error

(
        url: &str,
        store: &dyn ObjectStore,
        file_extension: &str,
    )

Source from the content-addressed store, hash-verified

1035 ///
1036 /// Panic's on error
1037 async fn list_all_files(
1038 url: &str,
1039 store: &dyn ObjectStore,
1040 file_extension: &str,
1041 ) -> Result<Vec<String>> {
1042 try_list_prefixed_files(url, store, None, file_extension).await
1043 }
1044
1045 /// Runs "list_prefixed_files" and returns their paths
1046 ///

Callers 1

test_list_filesFunction · 0.85

Calls 1

try_list_prefixed_filesFunction · 0.85

Tested by 1

test_list_filesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…