mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 21:25:16 +00:00
22 lines
469 B
Rust
22 lines
469 B
Rust
use std::path::PathBuf;
|
|
|
|
use failure::Fail;
|
|
|
|
#[derive(Debug, Fail)]
|
|
pub enum UploadError {
|
|
#[fail(display = "This error cannot happen")]
|
|
StubError,
|
|
}
|
|
|
|
#[derive(Debug)]
|
|
pub struct UploadOptions<'a> {
|
|
pub fuzzy_project_path: PathBuf,
|
|
pub security_cookie: Option<String>,
|
|
pub asset_id: u64,
|
|
pub kind: Option<&'a str>,
|
|
}
|
|
|
|
pub fn upload(_options: &UploadOptions) -> Result<(), UploadError> {
|
|
unimplemented!("TODO: Reimplement upload command");
|
|
}
|