Docs.rs
gen_utils-0.1.2
gen_utils 0.1.2
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
syf20020816
Dependencies
chrono ^0.4.38
normal
nom ^7.1.3
normal
proc-macro2 ^1.0.78
normal
quote ^1.0.35
normal
rand ^0.9.0
normal
syn ^2.0.52
normal
toml_edit ^0.22.12
normal
walkdir ^2.5.0
normal
Versions
42.59%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
Skip to main content
append
gen_
utils
0.1.2
append
Sections
Append the content to the file
In gen_
utils::
common::
fs
gen_utils
::
common
::
fs
Function
append
Copy item path
Source
pub fn append<P>(path: P, content: &
str
) ->
Result
<
()
,
Error
>
where P:
AsRef
<
Path
>,
Expand description
ยง
Append the content to the file
if the file is exists, append the content to the file
if the file is not exists, create the file and write the content to the file