Skip to main content
has_valid_signature
yggdrasil
0.9.0
In yggdrasil::
api::
database::
backup
yggdrasil
::
api
::
database
::
backup
Function
has_
valid_
signature
Copy item path
Source
fn has_valid_signature(content: &
str
) ->
bool
Expand description
校验备份文件首行是否含本系统签名头。 提取为纯函数:把首行(或全文)作为参数传入,便于单测。