Impl RefFlags::with_content_hashing()

This commit is contained in:
Matthias Beyer 2016-06-09 19:42:08 +02:00
parent 57e653e384
commit 303a0c2bf8

View file

@ -37,8 +37,9 @@ impl RefFlags {
self.with_content_hashing(b) self.with_content_hashing(b)
} }
pub fn with_content_hashing(self, b: bool) -> RefFlags { pub fn with_content_hashing(mut self, b: bool) -> RefFlags {
unimplemented!() self.content_hashing = b;
self
} }
pub fn with_permission_tracking(mut self, b: bool) -> RefFlags { pub fn with_permission_tracking(mut self, b: bool) -> RefFlags {