debian-mirror-gitlab/app/assets/javascripts/repository/queries/blob_info.query.graphql
2021-10-27 15:23:28 +05:30

45 lines
828 B
GraphQL

query getBlobInfo($projectPath: ID!, $filePath: String!, $ref: String!) {
project(fullPath: $projectPath) {
id
userPermissions {
pushCode
downloadCode
}
pathLocks {
nodes {
path
}
}
repository {
empty
blobs(paths: [$filePath], ref: $ref) {
nodes {
webPath
name
size
rawSize
rawTextBlob
fileType
path
editBlobPath
ideEditPath
storedExternally
rawPath
replacePath
simpleViewer {
fileType
tooLarge
type
renderError
}
richViewer {
fileType
tooLarge
type
renderError
}
}
}
}
}
}