Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ keywordInFile
Method
keywordInFile
scripts/release_notes/commitlist.py:108–112 ·
view source on GitHub ↗
(file, keywords)
Source
from the content-addressed store, hash-verified
106
107
@staticmethod
108
def
keywordInFile(file, keywords):
109
for
key in keywords:
110
if
key in file:
111
return
True
112
return
False
113
114
@staticmethod
115
def
gen_commit(commit_hash):
Callers
1
categorize
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected