FossilRepo: Support for querying hash numbers given a file name.
This commit is contained in:
parent
6916c08394
commit
435afaa0f9
@ -12,6 +12,11 @@ Class {
|
||||
#category : #'Grafoscopio-Model'
|
||||
}
|
||||
|
||||
{ #category : #'as yet unclassified' }
|
||||
FossilRepo >> hashNumberFor: aFileName [
|
||||
^ (((self jsonDataFor: aFileName) at: 'payload') at: 'checkins') first at: 'uuid'
|
||||
]
|
||||
|
||||
{ #category : #'as yet unclassified' }
|
||||
FossilRepo >> jsonDataFor: aFileName [
|
||||
^ NeoJSONReader fromString: (self jsonStringFor: aFileName)
|
||||
|
Loading…
Reference in New Issue
Block a user