chore: 提交所有工作进度 — SaaS 后端增强、Admin UI、桌面端集成
包含大量 SaaS 平台改进、Admin 管理后台更新、桌面端集成完善、 文档同步、测试文件重构等内容。为 QA 测试准备干净工作树。
This commit is contained in:
@@ -160,6 +160,11 @@ impl PathValidator {
|
||||
self
|
||||
}
|
||||
|
||||
/// Get the workspace root directory
|
||||
pub fn workspace_root(&self) -> Option<&PathBuf> {
|
||||
self.workspace_root.as_ref()
|
||||
}
|
||||
|
||||
/// Validate a path for read access
|
||||
pub fn validate_read(&self, path: &str) -> Result<PathBuf> {
|
||||
let canonical = self.resolve_and_validate(path)?;
|
||||
|
||||
Reference in New Issue
Block a user