Extracting the checksum of a file name, according to our ad-hoc naming conventions.
This commit is contained in:
parent
f3551de1de
commit
626ad71111
6
repository/Grafoscopio-Utils/FileReference.extension.st
Normal file
6
repository/Grafoscopio-Utils/FileReference.extension.st
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Extension { #name : #FileReference }
|
||||||
|
|
||||||
|
{ #category : #'*Grafoscopio-Utils' }
|
||||||
|
FileReference >> basenameWithoutChecksum [
|
||||||
|
^ (self basenameWithoutExtension splitOn: '--') first
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user