Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theswerd committed Feb 13, 2025
1 parent 7688afa commit bb49d52
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion runtime/src/permissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,23 @@ impl FetchPermissions for CloudstatePermissions {

fn check_read<'a>(
&mut self,
resolved: bool,
p: &'a Path,
api_name: &str,
) -> Result<std::borrow::Cow<'a, Path>, PermissionCheckError> {
) -> Result<std::borrow::Cow<'a, Path>, deno_fs::FsError> {
debug!("checking read fetch permission");
Ok(p.to_path_buf().into())
}

// fn check_read<'a>(
// &mut self,
// p: &'a Path,
// api_name: &str,
// ) -> Result<std::borrow::Cow<'a, Path>, PermissionCheckError> {
// debug!("checking read fetch permission");
// Ok(p.to_path_buf().into())
// }

// fn check_read<'a>(
// &mut self,
// p: &'a Path,
Expand Down

0 comments on commit bb49d52

Please # to comment.