harn-stdlib 0.8.100

Embedded Harn standard library source catalog
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// std/files — provider file upload helpers.
//
// Import with: import "std/files"
/**
 * Upload a local file to a provider Files API and return its reusable file_id.
 *
 * @effects: [fs, network]
 * @errors: []
 */
pub fn upload(path: string, provider: string) -> string {
  return __files_upload(path, provider)
}