Phase 3: refs/walk/gc + var 子命令信封改造 #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #67
Depends: Phase 2
Scope
图遍历命令
refs <hash>@output/refsstring[](hashes)walk <hash>@output/walkstring[](hashes) 或 tree 字符串gc@output/gc{ collected, remaining, ... }var 子命令
var set@output/var-setwrapVariableEnvelopevar get@output/var-getvar delete@output/var-deletevar tag@output/var-tagvar list@output/var-listwalk --format tree
Tree 模式输出信封,value 为 tree 字符串。
删除
wrapVariableEnvelope统一使用 Phase 1 的
wrapEnvelope。Verification
{ type, value }ucas gc | ucas render -p管道可工作Ref
Implements Phase 3 of #67