Skip to content

Commit

Permalink
Add PureGitBlob and PureGitTree test methods to find out if they were…
Browse files Browse the repository at this point in the history
… resolved
  • Loading branch information
svenvc committed Oct 27, 2024
1 parent adaa48e commit bc555c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Iceberg-Git-CLI/PureGitBlob.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ PureGitBlob >> contents: aByteArray [
contents := aByteArray
]

{ #category : #testing }
PureGitBlob >> hasResolvedContents [
^ contents notNil
]

{ #category : #accessing }
PureGitBlob >> id [
^ id
Expand Down
5 changes: 5 additions & 0 deletions src/Iceberg-Git-CLI/PureGitTree.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ PureGitTree >> hasEntryNamed: name [
^ self entries anySatisfy: [ :each | each name = name ]
]

{ #category : #testing }
PureGitTree >> hasResolvedEntries [
^ entries notNil
]

{ #category : #accessing }
PureGitTree >> id [
^ id
Expand Down

0 comments on commit bc555c4

Please sign in to comment.