diff --git a/script.go b/script.go index 133117b..74135f5 100644 --- a/script.go +++ b/script.go @@ -31,6 +31,10 @@ func NewScript(src string) *Script { } } +func (s *Script) Hash() string { + return s.hash +} + func (s *Script) Load(c scripter) *StringCmd { return c.ScriptLoad(s.src) }