Docs.rs
  • sapling-util-0.1.0
    • sapling-util 0.1.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • github:facebook:cratesio-publish
    • meta-cratesio-bot
    • Dependencies
      • anyhow ^1.0.86 normal
      • dirs ^2.0 normal
      • fn-error-context ^0.2 normal
      • fs2 ^0.4 normal
      • rand ^0.8 normal
      • sapling-atomicfile ^0.1.0 normal
      • sapling-lazystr ^0.1.0 normal
      • sapling-rewrite-macros ^0.1.0 normal
      • shell-escape ^0.1.5 normal
      • shellexpand ^2.1.2 normal
      • thiserror ^1.0.64 normal
      • memmap2 ^0.5.10 dev
      • tempfile ^3.8 dev
      • libc ^0.2.139 normal
      • once_cell ^1.12 normal
      • tempfile ^3.8 normal
      • libc ^0.2.139 normal
      • once_cell ^1.12 normal
      • tempfile ^3.8 normal
      • widestring ^1.0.2 normal
      • winapi ^0.3 normal
      • tempfile ^3.8 dev
    • Versions
    • 48.78% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

util0.1.0

Crate Items

  • Structs
  • Traits
  • Functions

List of all items

Structs

  • lock::PathLock

Traits

  • errors::IOContext

Functions

  • errors::from_err_msg
  • errors::from_err_msg_path
  • file::apply_umask
  • file::atomic_open
  • file::atomic_write
  • file::create
  • file::exists
  • file::open
  • file::read_to_string_if_exists
  • file::unlink_if_exists
  • path::absolute
  • path::atomic_write_symlink
  • path::create_dir
  • path::create_dir_all_with_mode
  • path::create_shared_dir
  • path::create_shared_dir_all
  • path::expand_path
  • path::normalize
  • path::relativize
  • path::remove_file
  • path::root_relative_path
  • path::strip_unc_prefix
  • path::symlink_dir
  • path::symlink_file
  • sys::hostname
  • sys::shell_escape
  • sys::username
  • utf8::escape_non_utf8