commit: | 0321f364e5c9b86abef0fd1a16ecd560a64ed894 |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Wed Dec 9 18:24:38 2020 +0100 |
parents: | 4c8256e083985b65af6ff741a311fcc9d4da1a8c |
diff --git a/snitch.el b/snitch.el line changes: +8/-0 index a21b816..a38c97e --- a/snitch.el +++ b/snitch.el
@@ -575,6 +575,9 @@ protocol family of the connection that snitch is considering.") ;; ;; +(defconst snitch--version "0.1.0" + "Snitch version as a string.") + (defconst snitch-source-package-types '(built-in site-lisp user) "Possible types for a snitch event's package source, as found
@@ -857,6 +860,11 @@ network connections." (when (snitch-deinit) (snitch-init))) +(defun snitch-version () + "Return loaded snitch’s version number as a string." + snitch--version) + + (provide 'snitch) ;;; snitch.el ends here