Sha256: aae67f78f44a53661511f442e335bf529153d35e88b87d53a1e35e905ef2e8fc
Contents?: true
Size: 1.76 KB
Versions: 4
Compression:
Stored size: 1.76 KB
Contents
# typed: true # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `packs` gem. # Please instead update this file by running `bin/tapioca gem packs`. module Packs class << self sig { returns(T::Array[::Packs::Pack]) } def all; end sig { void } def bust_cache!; end sig { returns(::Packs::Configuration) } def config; end sig { params(blk: T.proc.params(arg0: ::Packs::Configuration).void).void } def configure(&blk); end sig { params(name: ::String).returns(T.nilable(::Packs::Pack)) } def find(name); end sig { params(file_path: T.any(::Pathname, ::String)).returns(T.nilable(::Packs::Pack)) } def for_file(file_path); end private sig { returns(T::Array[::Pathname]) } def package_glob_patterns; end sig { returns(T::Hash[::String, ::Packs::Pack]) } def packs_by_name; end end end class Packs::Configuration sig { void } def initialize; end sig { returns(T::Array[::Pathname]) } def roots; end sig { params(roots: T::Array[::String]).void } def roots=(roots); end end Packs::PACKAGE_FILE = T.let(T.unsafe(nil), String) class Packs::Pack < ::T::Struct const :name, ::String const :path, ::Pathname const :raw_hash, T::Hash[T.untyped, T.untyped] const :relative_path, ::Pathname sig { returns(::String) } def last_name; end sig { returns(T::Hash[T.untyped, T.untyped]) } def metadata; end sig { returns(::Pathname) } def yml; end class << self sig { params(package_yml_absolute_path: ::Pathname).returns(::Packs::Pack) } def from(package_yml_absolute_path); end def inherited(s); end end end module Packs::Private class << self sig { returns(::Pathname) } def root; end end end Packs::ROOTS = T.let(T.unsafe(nil), Array)
Version data entries
4 entries across 4 versions & 1 rubygems