3d482025b3
And leave some compat imports in api_schema.rs to get it to build with minimal changes. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
13 lines
292 B
Rust
13 lines
292 B
Rust
use proxmox::api::router::{Router, SubdirMap};
|
|
use proxmox::api::list_subdirs_api_method;
|
|
|
|
pub mod datastore;
|
|
|
|
const SUBDIRS: SubdirMap = &[
|
|
("datastore", &datastore::ROUTER)
|
|
];
|
|
|
|
pub const ROUTER: Router = Router::new()
|
|
.get(&list_subdirs_api_method!(SUBDIRS))
|
|
.subdirs(SUBDIRS);
|