Skip to main content

is_git_token

Function is_git_token 

Source
pub fn is_git_token(s: &str) -> bool
Expand description

A git commit id / graph snapshot token: 7–64 hex characters. Mirrors the plugin’s isGitToken, distinguishing a usable baseline from a foreign token (an mtime digest JSON, an empty string, junk).