diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-18 21:10:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-18 21:10:16 +0000 |
commit | 039b920db38c464de624710acec581be5a0eb961 (patch) | |
tree | 77eb43daaa9b25b6f8673433faf2e809992474a6 /app/graphql | |
parent | 042cd704b8177e7997af4a2ca90967d3178ccc3f (diff) | |
download | gitlab-ce-039b920db38c464de624710acec581be5a0eb961.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql')
-rw-r--r-- | app/graphql/types/repository_type.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/graphql/types/repository_type.rb b/app/graphql/types/repository_type.rb index 963a4296c4f..9d896888fa7 100644 --- a/app/graphql/types/repository_type.rb +++ b/app/graphql/types/repository_type.rb @@ -19,5 +19,9 @@ module Types field :branch_names, [GraphQL::STRING_TYPE], null: true, calls_gitaly: true, complexity: 170, description: 'Names of branches available in this repository that match the search pattern.', resolver: Resolvers::RepositoryBranchNamesResolver + field :disk_path, GraphQL::STRING_TYPE, + description: 'Shows a disk path of the repository.', + null: true, + authorize: :read_storage_disk_path end end |