Crates.io | fs-stat |
lib.rs | fs-stat |
version | 0.1.7 |
source | src |
created_at | 2020-07-26 06:30:24.59528 |
updated_at | 2020-07-26 07:05:33.955631 |
description | libc's stat, lstat and fstat bindings to rust made accessible |
homepage | https://github.com/viktor-ku/fs-stat |
repository | https://github.com/viktor-ku/fs-stat |
max_upload_size | |
id | 269661 |
size | 9,994 |
libc stat
, lstat
and fstat
bindings to rust made accessible
Add the following to your Cargo.toml
:
fs-stat = "0.1"
All functions return standard std::io::Result
with an std::io::Error
if it find one and
libc::stat
if call was successful. Every unsafe bit and convertion magic from rust to C is
handled by the library, so you don't have to write it :)
Feel free to write an issue or suggest a pull request! I will be glad to further improve this library!