Extracting the checksum of a file name, according to our ad-hoc naming conventions.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-03-18 18:13:09 -05:00
parent f3551de1de
commit 626ad71111

View File

@ -0,0 +1,6 @@
Extension { #name : #FileReference }
{ #category : #'*Grafoscopio-Utils' }
FileReference >> basenameWithoutChecksum [
^ (self basenameWithoutExtension splitOn: '--') first
]