debian-mirror-gitlab/app/graphql/queries/repository/blob_info.query.graphql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

63 lines
1.3 KiB
GraphQL
Raw Normal View History

2022-04-04 11:22:00 +05:30
query getBlobInfo(
$projectPath: ID!
$filePath: String!
$ref: String!
$shouldFetchRawText: Boolean!
) {
2021-04-29 21:17:54 +05:30
project(fullPath: $projectPath) {
2022-10-11 01:57:18 +05:30
__typename
id
2021-04-29 21:17:54 +05:30
repository {
2022-10-11 01:57:18 +05:30
__typename
2021-09-30 23:02:18 +05:30
empty
2021-10-27 15:23:28 +05:30
blobs(paths: [$filePath], ref: $ref) {
2022-10-11 01:57:18 +05:30
__typename
2021-06-08 01:23:25 +05:30
nodes {
2022-10-11 01:57:18 +05:30
__typename
2022-01-26 12:08:38 +05:30
id
2021-06-08 01:23:25 +05:30
webPath
name
size
rawSize
2022-04-04 11:22:00 +05:30
rawTextBlob @include(if: $shouldFetchRawText)
2021-06-08 01:23:25 +05:30
fileType
2022-04-04 11:22:00 +05:30
language
2021-06-08 01:23:25 +05:30
path
2022-08-27 11:52:29 +05:30
blamePath
2021-06-08 01:23:25 +05:30
editBlobPath
2022-05-07 20:08:51 +05:30
gitpodBlobUrl
2021-09-04 01:27:46 +05:30
ideEditPath
2021-11-18 22:05:49 +05:30
forkAndEditPath
ideForkAndEditPath
2022-05-07 20:08:51 +05:30
codeNavigationPath
projectBlobPathRoot
forkAndViewPath
2022-04-04 11:22:00 +05:30
environmentFormattedExternalUrl
environmentExternalUrlForRouteMap
2021-11-18 22:05:49 +05:30
canModifyBlob
2022-01-26 12:08:38 +05:30
canCurrentUserPushToBranch
2022-03-02 08:16:31 +05:30
archived
2021-06-08 01:23:25 +05:30
storedExternally
2022-03-02 08:16:31 +05:30
externalStorage
2022-04-04 11:22:00 +05:30
externalStorageUrl
2021-06-08 01:23:25 +05:30
rawPath
replacePath
2021-12-11 22:18:48 +05:30
pipelineEditorPath
2021-06-08 01:23:25 +05:30
simpleViewer {
fileType
tooLarge
type
renderError
}
richViewer {
fileType
tooLarge
type
renderError
}
}
2021-04-29 21:17:54 +05:30
}
}
}
}