code/__DEFINES/rust_g.dm 
/proc/rustg_get_version | Gets the version of rust_g |
---|---|
rustg_git_revparse | Returns the git hash of the given revision, ex. "HEAD". |
/proc/rustg_git_commit_date | Returns the date of the given revision using the provided format. Defaults to returning %F which is YYYY-MM-DD. |
/proc/rustg_git_commit_date_head | Returns the formatted datetime string of HEAD using the provided format. Defaults to returning %F which is YYYY-MM-DD. This is different to rustg_git_commit_date because it only needs the logs directory. |
Define Details
rustg_git_revparse 
Returns the git hash of the given revision, ex. "HEAD".