util/
lib.rs

1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8//! Utilities interacting with the OS.
9
10// What functions belong here? The theme is similar to mercurial/util.py
11//
12// Cross platform filesystem / network / process / string / data structures
13// utilities that cannot be trivially written using Rust stdlib.
14//
15// Prefer using the Rust stdlib directly if possible.
16
17pub mod errors;
18pub mod file;
19pub mod lock;
20pub mod path;
21pub mod sys;
22pub mod utf8;