Class: Types::DiffStatsType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/diff_stats_type.rb

Overview

rubocop: disable Graphql/AuthorizeTypes Types that use DiffStatsType should have their own authorization

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#pathObject



18
19
20
# File 'app/graphql/types/diff_stats_type.rb', line 18

def path
  object.path.dup.force_encoding('UTF-8')
end