[pve-devel] [PATCH proxmox] apt: repositories: document status property for standard repository

Fiona Ebner f.ebner at proxmox.com
Fri Sep 29 09:00:53 CEST 2023


Suggested-by: Dietmar Maurer <dietmar at proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 proxmox-apt/src/repositories/standard.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/proxmox-apt/src/repositories/standard.rs b/proxmox-apt/src/repositories/standard.rs
index 4bb57d4..29cc788 100644
--- a/proxmox-apt/src/repositories/standard.rs
+++ b/proxmox-apt/src/repositories/standard.rs
@@ -24,7 +24,8 @@ pub struct APTStandardRepository {
     /// Handle referencing a standard repository.
     pub handle: APTRepositoryHandle,
 
-    /// Configuration status of the associated repository.
+    /// Configuration status of the associated repository, where `None` means
+    /// not configured, and `Some(bool)` indicates enabled or disabled.
     #[serde(skip_serializing_if = "Option::is_none")]
     pub status: Option<bool>,
 
-- 
2.39.2






More information about the pve-devel mailing list