source_type

in lib/omnibus/software.rb [1203:1218]


    def source_type
      if source
        if source[:url]
          :url
        elsif source[:git]
          :git
        elsif source[:file]
          :file
        elsif source[:path]
          :path
        end
      else
        :project_local
      end
    end