=begin pod :kind("Type") :subkind("class") :category("basic")

=TITLE class Distribution::Locally

=SUBTITLE Distribution::Locally

    role Distribution::Locally does Distribution { }

Provides read access to specific files pointed at by a distributions metadata,
providing the L<Distribution#method_content|/type/Distribution#method_content>
method for L<Distribution::Path|/type/Distribution::Path> and
L<Distribution::Hash|/type/Distribution::Hash>.

=head1 Methods

=head2 method prefix

A prefix path to be used in conjuncture with the paths found in the metadata.

=head2 method content

Provides L<Distribution#method_content|/type/Distribution#method_content>

Returns an C<IO::Handle> to the file represented by C<$name-path>. C<$name-path>
is a relative path as it would be found in the metadata such as C<lib/Foo.rakumod>
or C<resources/foo.txt>, and these paths will be prefixed with
L<Distribution#method_prefix|/type/Distribution#method_prefix>.

=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
