Method: Rugged::Repository::Attributes.parse_opts

Defined in:
lib/rugged/attributes.rb

.parse_opts(opt) ⇒ Object


21
22
23
24
25
# File 'lib/rugged/attributes.rb', line 21

def self.parse_opts(opt)
  flags = LOAD_PRIORITIES[opt[:priority]] || 0
  flags |= 4 if opt[:skip_system]
  flags
end