File tree Expand file tree Collapse file tree 2 files changed +1
-31
lines changed
Expand file tree Collapse file tree 2 files changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -140,36 +140,6 @@ code = sc.code_result(4061576)
140140print (code)
141141```
142142
143- ### Related Results
144-
145- Returns an array of results given a searchcode unique code id which are considered to be duplicates.
146-
147- #### Params
148-
149- - ` _id ` : Unique identifier for the code file (required).
150-
151- ``` python
152-
153- import searchcode as sc
154-
155- related = sc.related_results(4061576 )
156- print (related)
157- ```
158-
159- #### Response Attribute Definitions
160-
161- | Attribute | Description |
162- | ----------------| ------------------------------------------------------------------------------------------|
163- | ** reponame** | Name of the repository which this related result belongs to. |
164- | ** source** | The source which this code result comes from. |
165- | ** sourceurl** | URL to the repository this result belongs to. |
166- | ** md5hash** | Calculated MD5 hash of the file's contents. |
167- | ** location** | Location inside the repository where this file exists. |
168- | ** language** | Name of the language which this file is identified to be. |
169- | ** linescount** | Total number of lines in this file. |
170- | ** id** | Unique ID for this code result used by searchcode, which can be used in other API calls. |
171- | ** filename** | The filename for this file. |
172-
173143## About Searchcode
174144
175145Searchcode is a simple, comprehensive source code search engine that indexes billions of lines of code from open-source
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " searchcode"
3- version = " 0.2.2 "
3+ version = " 0.2.3 "
44description = " Python SDK for Searchcode."
55authors = [" Ritchie Mwewa <rly0nheart@duck.com>" ]
66license = " GPLv3+"
You can’t perform that action at this time.
0 commit comments