init:store

This commit is contained in:
weisd
2024-06-26 18:15:45 +08:00
parent 732a9d0712
commit b0804ac7f0
3 changed files with 269 additions and 23 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ fn is_host_ip(ip_str: &str) -> bool {
}
impl Endpoint {
fn new(arg: &str) -> Result<Self, Error> {
pub fn new(arg: &str) -> Result<Self, Error> {
if is_empty_path(arg) {
return Err(Error::msg("不支持空或根endpoint"));
}