Skip to main content

entry_set

Function entry_set 

Source
pub fn entry_set(
    dir: &Path,
    uuid: Option<String>,
    path: &str,
    patch: &EntryPatch,
) -> Result<()>
Expand description

str entry set:设置某分支 entries[] 中指定 path 条目的字段。

str sync 补登出来的行只有 path / role / id,其 type / title / summary 由此命令补齐 —— 不再需要「手改 ._meta 的唯一例外」。空串表示移除该字段。