Creates a file with "hello world" content at the specified path
(object_store: &dyn ObjectStore, path: &str)
| 1025 | |
| 1026 | /// Creates a file with "hello world" content at the specified path |
| 1027 | async fn create_file(object_store: &dyn ObjectStore, path: &str) { |
| 1028 | object_store |
| 1029 | .put(&Path::from(path), PutPayload::from_static(b"hello world")) |
| 1030 | .await |
| 1031 | .expect("failed to create test file"); |
| 1032 | } |
| 1033 | |
| 1034 | /// Runs "list_prefixed_files" with no prefix to list all files and returns their paths |
| 1035 | /// |
searching dependent graphs…