Skip to content

Commit

Permalink
Add Script.Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed May 24, 2017
1 parent 18c1db9 commit e3550dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit e3550dd

Please sign in to comment.