mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-22 04:19:47 -05:00
docs(lib): update the function comment for store_remote_file
This commit is contained in:
parent
7a6842e181
commit
3eee294bd9
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ impl Paste {
|
||||||
/// - Same content length configuration is applied for download limit.
|
/// - Same content length configuration is applied for download limit.
|
||||||
/// - Checks SHA256 digest of the downloaded file for preventing duplication.
|
/// - Checks SHA256 digest of the downloaded file for preventing duplication.
|
||||||
/// - Assumes `self.data` contains a valid URL, otherwise returns an error.
|
/// - Assumes `self.data` contains a valid URL, otherwise returns an error.
|
||||||
|
///
|
||||||
|
/// [`store_file`]: Self::store_file
|
||||||
pub async fn store_remote_file(
|
pub async fn store_remote_file(
|
||||||
&mut self,
|
&mut self,
|
||||||
expiry_date: Option<u128>,
|
expiry_date: Option<u128>,
|
||||||
|
|
Loading…
Reference in a new issue