File tree Expand file tree Collapse file tree 3 files changed +27
-16
lines changed Expand file tree Collapse file tree 3 files changed +27
-16
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " unix_mode"
3- version = " 0.1.2 "
3+ version = " 0.1.3 "
44authors = [
" Martin Pool <[email protected] >" ]
55edition = " 2018"
66description = " Decode Unix file mode bits (even on non-Unix platforms)"
Original file line number Diff line number Diff line change 1- # unix\_ mode release history
1+ # unix\_ mode changelog
22
3- ## 0.1.2 2021-08-1
4-
5- * Add ` is_setuid ` , ` is_setgid ` , ` is_sticky ` .
6-
7- ## 0.1.1
8-
9- * Fix tests on Windows.
10-
11- ## 0.1.0
12-
13- * Initial release.
3+ See src/lib.rs or < https://docs.rs/unix_mode#changelog >
144
Original file line number Diff line number Diff line change 3333//! interpret the bits.
3434//!
3535//! For example, this can be used with the return value from
36- //! ` std::os::unix::fs::MetadataExt::mode()` .
36+ //! [ std::os::unix::fs::MetadataExt::mode] .
3737//!
38- //! The names of the predicate functions match `std::fs::FileType` and
39- //! `std::os::unix::fs::FileTypeExt`.
38+ //! The names of the predicate functions match [std::fs::FileType] and
39+ //! [std::os::unix::fs::FileTypeExt].
40+ //!
41+ //! # Changelog
42+ //!
43+ //! ## 0.1.3
44+ //!
45+ //! * Add [Type] enum for matching the file type.
46+ //! * Add [Access], and [Accessor] enums for testing permissions.
47+ //! * More tests.
48+ //! * Move changelog into Rustdoc.
49+ //!
50+ //! ## 0.1.2 2021-08-1
51+ //!
52+ //! * Add [is_setuid], [is_setgid], [is_sticky].
53+ //!
54+ //! ## 0.1.1
55+ //!
56+ //! * Fix tests on Windows.
57+ //!
58+ //! ## 0.1.0
59+ //!
60+ //! * Initial release.
4061
4162/// Return just the bits representing the type of file.
4263fn type_bits ( mode : u32 ) -> u32 {
You can’t perform that action at this time.
0 commit comments