Issy Long c98deebdbf
sorbet: Add a RBI file for utils/svn.rb typechecking
- Needed to `include Kernel` otherwise Sorbet couldn't find the
  `system_command` method.
- I've also attempted to construct method signatures for all the methods.
- Before, `brew typecheck` surfaced 36 errors. Now we're down to 33 errors.
2020-09-12 16:03:19 +01:00

15 lines
248 B
Ruby

# typed: strict
module Utils::Svn
include Kernel
sig { returns(T::Boolean) }
def available?; end
sig { returns(T.nilable(String)) }
def version; end
sig { params(url: String).returns(T::Boolean) }
def remote_exists?(url); end
end