MCPcopy Index your code
hub / github.com/endbasic/endbasic / put

Method put

client/src/drive.rs:72–77  ·  view source on GitHub ↗
(&mut self, filename: &str, content: &[u8])

Source from the content-addressed store, hash-verified

70 }
71
72 async fn put(&mut self, filename: &str, content: &[u8]) -> io::Result<()> {
73 self.service
74 .borrow_mut()
75 .patch_file_content(&self.username, filename, content.to_vec())
76 .await
77 }
78
79 async fn update_acls(
80 &mut self,

Callers 5

test_share_print_no_aclsFunction · 0.45
test_share_make_publicFunction · 0.45
test_clouddrive_put_newFunction · 0.45

Calls 1

patch_file_contentMethod · 0.45

Tested by 5

test_share_print_no_aclsFunction · 0.36
test_share_make_publicFunction · 0.36
test_clouddrive_put_newFunction · 0.36