pub fn read_all_config_versions(dir: &Path) -> Vec<(String, Option<String>)>Expand description
契约模块 — 基于 quanttide-devops toolkit 的适配层。
读取目录下所有已知配置文件的版本号。
use std::path::Path;
use quanttide_devops::contract::read_all_config_versions;
let versions = read_all_config_versions(Path::new("/tmp/nonexistent"));
assert!(versions.is_empty());