/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/inotify-0.9.6/tests/ |
H A D | main.rs | 9 WatchMask, 31 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 53 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 91 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 112 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 133 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 136 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 152 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 155 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 181 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/inotify-0.7.0/tests/ |
H A D | main.rs | 13 WatchMask, 35 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 56 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 93 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 114 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 135 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 138 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 154 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 157 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 183 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/devel/desed/desed-1.2.0/cargo-crates/inotify-0.8.3/tests/ |
H A D | main.rs | 9 WatchMask, 31 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 53 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 91 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 112 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 133 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 136 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 152 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 155 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 181 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/inotify-0.6.1/tests/ |
H A D | main.rs | 13 WatchMask, 35 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 56 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 93 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 114 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 135 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 138 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 154 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 157 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 183 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/devel/texlab/texlab-3.3.0/cargo-crates/inotify-0.9.3/tests/ |
H A D | main.rs | 9 WatchMask, 31 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 53 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 91 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 112 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 133 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 136 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 152 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 155 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 181 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/inotify-0.7.1/tests/ |
H A D | main.rs | 13 WatchMask, 35 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 56 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 93 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 114 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 135 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 138 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 154 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 157 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 183 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/www/zola/zola-0.15.2/cargo-crates/inotify-0.7.1/tests/ |
H A D | main.rs | 13 WatchMask, 35 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 56 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 93 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 114 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 135 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 138 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 154 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 157 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 183 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/inotify-0.7.1/tests/ |
H A D | main.rs | 13 WatchMask, 35 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); 56 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); 93 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); 114 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); 135 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); 138 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); 154 .add_watch(&path, WatchMask::ACCESS) 157 .add_watch(&path, WatchMask::ACCESS) 183 .add_watch(&path, WatchMask::ACCESS) [all …]
|
/dports/lang/rust/rustc-1.58.1-src/vendor/inotify/tests/ |
H A D | main.rs | 9 WatchMask, 31 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 53 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 91 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 112 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 133 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 136 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 152 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 155 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 181 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/inotify-0.6.1/tests/ |
H A D | main.rs | 13 WatchMask, 35 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file() 56 let watch = inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_watch_a_file_async() 93 inotify.add_watch(&path.parent().unwrap(), WatchMask::MODIFY).unwrap(); in it_should_convert_the_name_into_an_os_str() 114 inotify.add_watch(&path, WatchMask::MODIFY).unwrap(); in it_should_set_name_to_none_if_it_is_empty() 135 let _ = inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 138 let wd2 = second_inotify.add_watch(&path, WatchMask::ACCESS).unwrap(); in it_should_not_accept_watchdescriptors_from_other_instances() 154 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 157 .add_watch(&path, WatchMask::ACCESS) in watch_descriptors_from_different_inotify_instances_should_not_be_equal() 183 .add_watch(&path, WatchMask::ACCESS) in watch_descriptor_equality_should_not_be_confused_by_reused_fds() [all …]
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/inotify-0.9.6/examples/ |
H A D | watch.rs | 6 WatchMask, 20 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/inotify-0.7.0/examples/ |
H A D | watch.rs | 9 WatchMask, 23 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/devel/desed/desed-1.2.0/cargo-crates/inotify-0.8.3/examples/ |
H A D | watch.rs | 6 WatchMask, 20 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/inotify-0.6.1/examples/ |
H A D | watch.rs | 9 WatchMask, 23 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/devel/texlab/texlab-3.3.0/cargo-crates/inotify-0.9.3/examples/ |
H A D | watch.rs | 6 WatchMask, 20 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/inotify-0.7.1/examples/ |
H A D | watch.rs | 9 WatchMask, 23 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/www/zola/zola-0.15.2/cargo-crates/inotify-0.7.1/examples/ |
H A D | watch.rs | 9 WatchMask, 23 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/inotify-0.7.1/examples/ |
H A D | watch.rs | 9 WatchMask, 23 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/inotify/examples/ |
H A D | watch.rs | 6 WatchMask, 20 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/inotify-0.6.1/examples/ |
H A D | watch.rs | 9 WatchMask, 23 WatchMask::MODIFY | WatchMask::CREATE | WatchMask::DELETE, in main()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/notify-4.0.15/src/ |
H A D | inotify.rs | 353 let mut watchmask = WatchMask::ATTRIB in add_single_watch() 354 | WatchMask::CREATE in add_single_watch() 355 | WatchMask::DELETE in add_single_watch() 356 | WatchMask::CLOSE_WRITE in add_single_watch() 357 | WatchMask::MODIFY in add_single_watch() 358 | WatchMask::MOVED_FROM in add_single_watch() 359 | WatchMask::MOVED_TO; in add_single_watch() 362 watchmask.insert(WatchMask::DELETE_SELF); in add_single_watch() 363 watchmask.insert(WatchMask::MOVE_SELF); in add_single_watch() 368 watchmask.insert(WatchMask::MASK_ADD); in add_single_watch() [all …]
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/notify-4.0.12/src/ |
H A D | inotify.rs | 353 let mut watchmask = WatchMask::ATTRIB in add_single_watch() 354 | WatchMask::CREATE in add_single_watch() 355 | WatchMask::DELETE in add_single_watch() 356 | WatchMask::CLOSE_WRITE in add_single_watch() 357 | WatchMask::MODIFY in add_single_watch() 358 | WatchMask::MOVED_FROM in add_single_watch() 359 | WatchMask::MOVED_TO; in add_single_watch() 362 watchmask.insert(WatchMask::DELETE_SELF); in add_single_watch() 363 watchmask.insert(WatchMask::MOVE_SELF); in add_single_watch() 368 watchmask.insert(WatchMask::MASK_ADD); in add_single_watch() [all …]
|
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/notify-4.0.17/src/ |
H A D | inotify.rs | 356 let mut watchmask = WatchMask::ATTRIB in add_single_watch() 357 | WatchMask::CREATE in add_single_watch() 358 | WatchMask::DELETE in add_single_watch() 359 | WatchMask::CLOSE_WRITE in add_single_watch() 360 | WatchMask::MODIFY in add_single_watch() 361 | WatchMask::MOVED_FROM in add_single_watch() 362 | WatchMask::MOVED_TO; in add_single_watch() 365 watchmask.insert(WatchMask::DELETE_SELF); in add_single_watch() 366 watchmask.insert(WatchMask::MOVE_SELF); in add_single_watch() 371 watchmask.insert(WatchMask::MASK_ADD); in add_single_watch() [all …]
|
/dports/www/zola/zola-0.15.2/cargo-crates/notify-4.0.17/src/ |
H A D | inotify.rs | 356 let mut watchmask = WatchMask::ATTRIB in add_single_watch() 357 | WatchMask::CREATE in add_single_watch() 358 | WatchMask::DELETE in add_single_watch() 359 | WatchMask::CLOSE_WRITE in add_single_watch() 360 | WatchMask::MODIFY in add_single_watch() 361 | WatchMask::MOVED_FROM in add_single_watch() 362 | WatchMask::MOVED_TO; in add_single_watch() 365 watchmask.insert(WatchMask::DELETE_SELF); in add_single_watch() 366 watchmask.insert(WatchMask::MOVE_SELF); in add_single_watch() 371 watchmask.insert(WatchMask::MASK_ADD); in add_single_watch() [all …]
|
/dports/textproc/mdbook/mdBook-0.4.13/cargo-crates/notify-4.0.17/src/ |
H A D | inotify.rs | 356 let mut watchmask = WatchMask::ATTRIB in add_single_watch() 357 | WatchMask::CREATE in add_single_watch() 358 | WatchMask::DELETE in add_single_watch() 359 | WatchMask::CLOSE_WRITE in add_single_watch() 360 | WatchMask::MODIFY in add_single_watch() 361 | WatchMask::MOVED_FROM in add_single_watch() 362 | WatchMask::MOVED_TO; in add_single_watch() 365 watchmask.insert(WatchMask::DELETE_SELF); in add_single_watch() 366 watchmask.insert(WatchMask::MOVE_SELF); in add_single_watch() 371 watchmask.insert(WatchMask::MASK_ADD); in add_single_watch() [all …]
|