Skip to content

Commit fc37d16

Browse files
committed
Add pipeline step to compute stem fingerprint
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 8e0405e commit fc37d16

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/matchcode_toolkit/pipelines/fingerprint_codebase.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,18 @@ class FingerprintCodebase(Pipeline):
3434

3535
@classmethod
3636
def steps(cls):
37-
return (cls.fingerprint_codebase,)
37+
return (
38+
cls.fingerprint_codebase,
39+
cls.fingerprint_stem_codebase_resources,
40+
)
3841

3942
def fingerprint_codebase(self):
4043
"""
4144
Compute directory and resource fingerprints for matching purposes
4245
"""
4346
matchcode.fingerprint_codebase_directories(self.project)
4447
matchcode.fingerprint_codebase_resources(self.project)
48+
49+
def fingerprint_stem_codebase_resources(self):
50+
"""Compute stem code fingerprint for resources"""
51+
matchcode.fingerprint_stem_codebase_resources(self.project)

0 commit comments

Comments
 (0)