GitHub repository file
github.file MQL resource for querying GitHub infrastructure with cnquery and cnspec.
GitHubPrivate Resource
GitHub repository file
Min version: 6.4.0Defaults:
name typeRelationships
4 resources · 11 relationships·Click to select, expand fields to see properties.
Fields (11)
| Field | Type | Description |
|---|---|---|
content | string | File content |
downloadUrlrequired | string | File download URL |
existsrequired | int | Whether the file exists in the repository |
files | []github.file | List of files in the directory |
isBinaryrequired | int | Whether the file is a binary |
namerequired | string | File name |
ownerNamerequired | string | File owner |
pathrequired | string | File path |
repoNamerequired | string | File repository name |
sharequired | string | File shasum |
typerequired | string | File type |