Skip to content

Commit

Permalink
tmp remove Operator
Browse files Browse the repository at this point in the history
  • Loading branch information
asukaminato0721 authored Feb 1, 2025
1 parent 5f2097b commit cee7548
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions bindings/dart/rust/src/api/opendal_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,6 @@ use std::io::Read;
use std::str::FromStr;
use std::time::Duration;

#[frb(opaque)]
pub struct Operator(opendal::Operator);

impl Operator {
#[frb(sync)]
pub fn new(
scheme: String,
options: HashMap<String, String>,
) -> Result<od::Operator, od::Error> {
let scheme: od::Scheme = od::Scheme::from_str(&scheme)?;
od::Operator::via_iter(scheme, options)
}

}

#[frb(opaque)]
pub struct Capability(opendal::Capability);

Expand Down

0 comments on commit cee7548

Please sign in to comment.