File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -825,6 +825,9 @@ status = "generate"
825
825
name = " set_attribute_stringv"
826
826
# use strv
827
827
manual = true
828
+ [[object .function ]]
829
+ pattern = " [s|g]et_attribute_file_path"
830
+ version = " 2.78"
828
831
829
832
[[object ]]
830
833
name = " Gio.FilterOutputStream"
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ impl FileInfo {
89
89
// unsafe { TODO: call ffi:g_file_info_get_attribute_data() }
90
90
//}
91
91
92
+ #[ cfg( feature = "v2_78" ) ]
93
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_78" ) ) ) ]
92
94
#[ doc( alias = "g_file_info_get_attribute_file_path" ) ]
93
95
#[ doc( alias = "get_attribute_file_path" ) ]
94
96
pub fn attribute_file_path ( & self , attribute : & str ) -> glib:: GString {
@@ -363,6 +365,8 @@ impl FileInfo {
363
365
}
364
366
}
365
367
368
+ #[ cfg( feature = "v2_78" ) ]
369
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_78" ) ) ) ]
366
370
#[ doc( alias = "g_file_info_set_attribute_file_path" ) ]
367
371
pub fn set_attribute_file_path ( & self , attribute : & str , attr_value : & str ) {
368
372
unsafe {
Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ external_libraries = [
11
11
" GObject" ,
12
12
]
13
13
14
+ [[object ]]
15
+ name = " Gio.FileInfo"
16
+ status = " generate"
17
+ [[object .function ]]
18
+ pattern = " [s|g]et_attribute_file_path"
19
+ version = " 2.78"
20
+
14
21
[[object ]]
15
22
name = " Gio.UnixMountEntry"
16
23
status = " generate"
Original file line number Diff line number Diff line change @@ -11618,6 +11618,8 @@ extern "C" {
11618
11618
value_pp: *mut gpointer,
11619
11619
status: *mut GFileAttributeStatus,
11620
11620
) -> gboolean;
11621
+ #[cfg(feature = "v2_78")]
11622
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11621
11623
pub fn g_file_info_get_attribute_file_path(
11622
11624
info: *mut GFileInfo,
11623
11625
attribute: *const c_char,
@@ -11694,6 +11696,8 @@ extern "C" {
11694
11696
attribute: *const c_char,
11695
11697
attr_value: *const c_char,
11696
11698
);
11699
+ #[cfg(feature = "v2_78")]
11700
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
11697
11701
pub fn g_file_info_set_attribute_file_path(
11698
11702
info: *mut GFileInfo,
11699
11703
attribute: *const c_char,
You can’t perform that action at this time.
0 commit comments