Mark this as a directory.
(mut self)
| 734 | |
| 735 | /// Mark this as a directory. |
| 736 | pub fn as_directory(mut self) -> Self { |
| 737 | self.is_directory = true; |
| 738 | self |
| 739 | } |
| 740 | |
| 741 | /// Set the content hash. |
| 742 | pub fn with_content_hash(mut self, hash: crate::types::Hash) -> Self { |
no outgoing calls