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 1
1
[package ]
2
2
name = " unix_mode"
3
- version = " 0.1.2 "
3
+ version = " 0.1.3 "
4
4
authors = [
" Martin Pool <[email protected] >" ]
5
5
edition = " 2018"
6
6
description = " 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
2
2
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 >
14
4
Original file line number Diff line number Diff line change 33
33
//! interpret the bits.
34
34
//!
35
35
//! 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] .
37
37
//!
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.
40
61
41
62
/// Return just the bits representing the type of file.
42
63
fn type_bits ( mode : u32 ) -> u32 {
You can’t perform that action at this time.
0 commit comments