Update to OSTree 2020.5

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:56 -04:00
1 parent 26f4170b01
commit e49ee07373
7 files changed
+214 -196

No files matched your search

+4
View File
@@ -13,6 +13,7 @@ pub enum DeploymentUnlockedState {
None,
Development,
Hotfix,
Transient,
#[doc(hidden)]
__Unknown(i32),
}
@@ -23,6 +24,7 @@ impl fmt::Display for DeploymentUnlockedState {
DeploymentUnlockedState::None => "None",
DeploymentUnlockedState::Development => "Development",
DeploymentUnlockedState::Hotfix => "Hotfix",
DeploymentUnlockedState::Transient => "Transient",
_ => "Unknown",
})
}
@@ -37,6 +39,7 @@ impl ToGlib for DeploymentUnlockedState {
DeploymentUnlockedState::None => ostree_sys::OSTREE_DEPLOYMENT_UNLOCKED_NONE,
DeploymentUnlockedState::Development => ostree_sys::OSTREE_DEPLOYMENT_UNLOCKED_DEVELOPMENT,
DeploymentUnlockedState::Hotfix => ostree_sys::OSTREE_DEPLOYMENT_UNLOCKED_HOTFIX,
DeploymentUnlockedState::Transient => ostree_sys::OSTREE_DEPLOYMENT_UNLOCKED_TRANSIENT,
DeploymentUnlockedState::__Unknown(value) => value
}
}
@@ -49,6 +52,7 @@ impl FromGlib<ostree_sys::OstreeDeploymentUnlockedState> for DeploymentUnlockedS
0 => DeploymentUnlockedState::None,
1 => DeploymentUnlockedState::Development,
2 => DeploymentUnlockedState::Hotfix,
3 => DeploymentUnlockedState::Transient,
value => DeploymentUnlockedState::__Unknown(value),
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
from gir-files (https://github.com/gtk-rs/gir-files @ 7ce8ed9)
from gir-files (https://github.com/gtk-rs/gir-files @ 9b77077+)