Add cost factored storage size to graphql ProjectStatistics response
The cost factored storage size is the total storage size of the project with any cost factor for forks applied. A fork may have a cost factor applied based on its visibility and the root namespace subscription. For a project that is not a fork, the cost factored storage size will always equal the total storage size.
显示
- app/graphql/types/project_statistics_type.rb 2 个添加, 0 个删除app/graphql/types/project_statistics_type.rb
- doc/api/graphql/reference/index.md 1 个添加, 0 个删除doc/api/graphql/reference/index.md
- ee/app/graphql/ee/types/project_statistics_type.rb 16 个添加, 0 个删除ee/app/graphql/ee/types/project_statistics_type.rb
- ee/app/models/ee/project_statistics.rb 12 个添加, 0 个删除ee/app/models/ee/project_statistics.rb
- ee/app/models/namespaces/storage/root_size.rb 1 个添加, 0 个删除ee/app/models/namespaces/storage/root_size.rb
- ee/spec/graphql/types/project_statistics_type_spec.rb 9 个添加, 0 个删除ee/spec/graphql/types/project_statistics_type_spec.rb
- ee/spec/models/ee/project_statistics_spec.rb 102 个添加, 4 个删除ee/spec/models/ee/project_statistics_spec.rb
- spec/graphql/types/project_statistics_type_spec.rb 2 个添加, 2 个删除spec/graphql/types/project_statistics_type_spec.rb
加载中
想要评论请 注册 或 登录