Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions FirebaseStorage/Sources/AsyncAwait.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import Foundation
}

/// Asynchronously uploads a file to the currently specified StorageReference.
/// `putDataAsync` should be used instead of `putFileAsync` in Extensions.
///
/// - Parameters:
/// - url: A URL representing the system file path of the object to be uploaded.
Expand Down
3 changes: 3 additions & 0 deletions FirebaseStorage/Sources/StorageReference.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ import Foundation

/**
* Asynchronously uploads a file to the currently specified `StorageReference`.
* `putData` should be used instead of `putFile` in Extensions.
* - Parameters:
* - fileURL: A URL representing the system file path of the object to be uploaded.
* - metadata: `StorageMetadata` containing additional information (MIME type, etc.)
Expand All @@ -188,6 +189,7 @@ import Foundation
/**
* Asynchronously uploads a file to the currently specified `StorageReference`,
* without additional metadata.
* `putData` should be used instead of `putFile` in Extensions.
* @param fileURL A URL representing the system file path of the object to be uploaded.
* @return An instance of StorageUploadTask, which can be used to monitor or manage the upload.
*/
Expand All @@ -197,6 +199,7 @@ import Foundation

/**
* Asynchronously uploads a file to the currently specified `StorageReference`.
* `putData` should be used instead of `putFile` in Extensions.
* - Parameters:
* - fileURL: A URL representing the system file path of the object to be uploaded.
* - metadata: `StorageMetadata` containing additional information (MIME type, etc.)
Expand Down