Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/logging.rs @ 47952:9cd35c8c6044
rust: Move VFS code to its own module
It was previously in the hg::repo module, but both repo code and vfs
will likely grow in the future.
Differential Revision: https://phab.mercurial-scm.org/D11394
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 06 Sep 2021 11:39:59 +0200 |
parents | 1f55cd5b292f |
children | db7dbe6f7bb2 |
comparison
equal
deleted
inserted
replaced
47951:cff41e168c25 | 47952:9cd35c8c6044 |
---|---|
1 use crate::errors::{HgError, HgResultExt, IoErrorContext, IoResultExt}; | 1 use crate::errors::{HgError, HgResultExt, IoErrorContext, IoResultExt}; |
2 use crate::repo::Vfs; | 2 use crate::vfs::Vfs; |
3 use std::io::Write; | 3 use std::io::Write; |
4 | 4 |
5 /// An utility to append to a log file with the given name, and optionally | 5 /// An utility to append to a log file with the given name, and optionally |
6 /// rotate it after it reaches a certain maximum size. | 6 /// rotate it after it reaches a certain maximum size. |
7 /// | 7 /// |