File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ import Foundation
5757 }
5858
5959 /// Asynchronously uploads a file to the currently specified StorageReference.
60+ /// `putDataAsync` should be used instead of `putFileAsync` in Extensions.
6061 ///
6162 /// - Parameters:
6263 /// - url: A URL representing the system file path of the object to be uploaded.
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ import Foundation
174174
175175 /**
176176 * Asynchronously uploads a file to the currently specified `StorageReference`.
177+ * `putData` should be used instead of `putFile` in Extensions.
177178 * - Parameters:
178179 * - fileURL: A URL representing the system file path of the object to be uploaded.
179180 * - metadata: `StorageMetadata` containing additional information (MIME type, etc.)
@@ -188,6 +189,7 @@ import Foundation
188189 /**
189190 * Asynchronously uploads a file to the currently specified `StorageReference`,
190191 * without additional metadata.
192+ * `putData` should be used instead of `putFile` in Extensions.
191193 * @param fileURL A URL representing the system file path of the object to be uploaded.
192194 * @return An instance of StorageUploadTask, which can be used to monitor or manage the upload.
193195 */
@@ -197,6 +199,7 @@ import Foundation
197199
198200 /**
199201 * Asynchronously uploads a file to the currently specified `StorageReference`.
202+ * `putData` should be used instead of `putFile` in Extensions.
200203 * - Parameters:
201204 * - fileURL: A URL representing the system file path of the object to be uploaded.
202205 * - metadata: `StorageMetadata` containing additional information (MIME type, etc.)
You can’t perform that action at this time.
0 commit comments