#open #openat #filesystem #fs

openat_ct

A wrapper around openat, symlinkat, and similar system calls forked and improved from https://crates.io/crates/openat

12 releases

Uses new Rust 2021

0.2.0-pre9 Feb 4, 2022
0.2.0-pre8 Feb 3, 2022
0.2.0-pre5 Jan 14, 2022
0.2.0-pre4 Dec 25, 2021
0.1.21 Oct 18, 2021

#106 in Filesystem

Download history 13/week @ 2022-04-22 68/week @ 2022-04-29 84/week @ 2022-05-06 193/week @ 2022-05-13 38/week @ 2022-05-20 71/week @ 2022-05-27 82/week @ 2022-06-03 5/week @ 2022-06-10 5/week @ 2022-06-17 5/week @ 2022-06-24 15/week @ 2022-07-01 15/week @ 2022-07-08 24/week @ 2022-07-15 15/week @ 2022-07-22 25/week @ 2022-07-29 19/week @ 2022-08-05

83 downloads per month
Used in dirinventory

MIT/Apache

65KB
1.5K SLoC

Openat (ct) Crate

Status: Beta

Documentation | Github | Crate

The interface to openat, symlinkat, and other functions in *at family.

About this Fork

This is a fork of the original 'openat' at https://github.com/tailhook/openat

The objective is to fix existing Issues and add features as required. An eventual goal would be to get this merged back into upstream. In most cases the API should stay backward compatible with the original openat (Unless functionality and fixes dictate changes).

It can be used as drop in replacement by aliasing the import:

use openat_ct as openat;

Dependent crates

This crate is a thin wrapper for the underlying system calls. You may find the extension methods in openat-ext useful.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~195KB