debian-mirror-gitlab/app/assets/javascripts/repository/queries/blob_info.query.graphql
2021-09-30 23:02:18 +05:30

38 lines
719 B
GraphQL

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