Debugging sanitize.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2019-04-08 21:10:14 +00:00
parent 916b407408
commit 3665fc678c

View File

@ -147,10 +147,10 @@ FossilRepo >> remote: anUrlString [
{ #category : #utilities } { #category : #utilities }
FossilRepo >> sanitize: aFileNameWithRelativePath [ FossilRepo >> sanitize: aFileNameWithRelativePath [
"I dicern if my argument concerns to a versioned or an unversioned file, "I dicern if my argument concerns to a versioned or an unversioned file,
and return a relative path to put the file." and return a relative path to put the fileb."
(aFileNameWithRelativePath beginsWith: '/uv') (aFileNameWithRelativePath beginsWith: '/uv')
ifTrue: [ ^ aFileNameWithRelativePath copyWithout: '/uv' ] ifTrue: [ ^ (aFileNameWithRelativePath copyFrom: 4 to: aFileNameWithRelativePath size) ]
] ]
{ #category : #authentication } { #category : #authentication }