File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/pages/[platform]/build-a-backend/storage/list-files Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -800,8 +800,7 @@ You can use `.fromOutputs(name:)` to provide a string representing the target bu
800800
801801```swift
802802let listResult = try await Amplify.Storage.list(
803- path: .fromString("public/example/path/myFile.txt"),
804- local: fileUrl,
803+ path: .fromString("public/photos/"),
805804 options: .init(
806805 bucket: .fromOutputs(name: "secondBucket")
807806 )
@@ -814,8 +813,7 @@ You can also use `.fromBucketInfo(_:)` to provide a bucket name and region direc
814813
815814```swift
816815let listResult = try await Amplify.Storage.list(
817- path: .fromString("public/example/path/myFile.txt"),
818- local: fileUrl,
816+ path: .fromString("public/photos/"),
819817 options: .init(
820818 bucket: .fromBucketInfo(.init(
821819 bucketName: "another-bucket-name",
You can’t perform that action at this time.
0 commit comments