From 0b96cb3b6caf553d525f6cecc037f50c3a49a090 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Fri, 18 Aug 2017 02:23:18 +0000 Subject: [PATCH] Sync. --- repository/Grafoscopio-Utils/GrafoscopioUtils.class.st | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/repository/Grafoscopio-Utils/GrafoscopioUtils.class.st b/repository/Grafoscopio-Utils/GrafoscopioUtils.class.st index 2fcec62..95ca750 100644 --- a/repository/Grafoscopio-Utils/GrafoscopioUtils.class.st +++ b/repository/Grafoscopio-Utils/GrafoscopioUtils.class.st @@ -8,6 +8,11 @@ Class { #category : #'Grafoscopio-Utils' } +{ #category : #'as yet unclassified' } +GrafoscopioUtils class >> checksumFor: aFileReference [ + ^ (SHA1 new hashMessage: aFileReference binaryReadStream contents) hex. +] + { #category : #'graphical interface' } GrafoscopioUtils class >> downloadingFrom: downloadUrl withMessage: aString into: location [ | fileName |