equal
deleted
inserted
replaced
27 let bytes = get_bytes_from_path(path_buf); |
27 let bytes = get_bytes_from_path(path_buf); |
28 |
28 |
29 // TODO use formating macro |
29 // TODO use formating macro |
30 self.ui.write_stdout(&[bytes.as_slice(), b"\n"].concat())?; |
30 self.ui.write_stdout(&[bytes.as_slice(), b"\n"].concat())?; |
31 |
31 |
32 Err(CommandErrorKind::Ok.into()) |
32 Ok(()) |
33 } |
33 } |
34 |
34 |
35 fn display_error(&self, error: FindRootError) -> Result<(), CommandError> { |
35 fn display_error(&self, error: FindRootError) -> Result<(), CommandError> { |
36 match error.kind { |
36 match error.kind { |
37 FindRootErrorKind::RootNotFound(path) => { |
37 FindRootErrorKind::RootNotFound(path) => { |