Saves the in-memory program given by `content` into `raw_location`.
(&mut self, raw_location: &str, content: &[u8])
| 649 | |
| 650 | /// Saves the in-memory program given by `content` into `raw_location`. |
| 651 | pub async fn put(&mut self, raw_location: &str, content: &[u8]) -> io::Result<()> { |
| 652 | let location = Location::new(raw_location)?; |
| 653 | self.put_location(raw_location, &location, content).await |
| 654 | } |
| 655 | |
| 656 | /// Updates the ACLs of the file `raw_location` by extending them with the contents of `add` and |
| 657 | /// removing the existing entries listed in `remove`. |