2020-11-17 03:05:33 +01:00
|
|
|
# typed: strict
|
|
|
|
|
|
|
|
|
|
class Pathname
|
|
|
|
|
# https://github.com/sorbet/sorbet/pull/3676
|
|
|
|
|
sig { params(p1: T.any(String, Pathname), p2: String).returns(T::Array[Pathname]) }
|
|
|
|
|
def self.glob(p1, p2 = T.unsafe(nil)); end
|
2020-11-17 03:39:48 +01:00
|
|
|
|
|
|
|
|
# https://github.com/sorbet/sorbet/pull/3678
|
|
|
|
|
sig { params(with_directory: T::Boolean).returns(T::Array[Pathname]) }
|
|
|
|
|
def children(with_directory = true); end
|
2020-11-17 03:05:33 +01:00
|
|
|
end
|