lib/rbs/collection/sources/git.rb in rbs-2.6.0 vs lib/rbs/collection/sources/git.rb in rbs-2.7.0.pre.1
- old
+ new
@@ -1,12 +1,15 @@
+# frozen_string_literal: true
+
require 'digest/sha2'
require 'open3'
require 'find'
module RBS
module Collection
module Sources
class Git
+ include Base
METADATA_FILENAME = '.rbs_meta.yaml'
class CommandError < StandardError; end
attr_reader :name, :remote, :repo_dir