mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-05 14:52:08 +00:00
proxmox/src/api/section_config.rs: make record_order public
It is sometimes usable to record the order.
This commit is contained in:
parent
3adcdacc22
commit
faadd5bba5
@ -112,7 +112,10 @@ impl SectionConfigData {
|
|||||||
Ok(data)
|
Ok(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn record_order(&mut self, section_id: &str) {
|
/// Record section ordering
|
||||||
|
///
|
||||||
|
/// Sections are written in the recorder order.
|
||||||
|
pub fn record_order(&mut self, section_id: &str) {
|
||||||
self.order.push_back(section_id.to_string());
|
self.order.push_back(section_id.to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user