method content

Documentation for method content assembled from the following types:

role Distribution

From Distribution

(Distribution) method content

method content($name-path --> IO::Handle:D{ ... }

Returns an IO::Handle to the file represented by $name-path. $name-path is a relative path as it would be found in the metadata such as lib/Foo.pm6 or resources/foo.txt.

class Distribution::Locally

From Distribution::Locally

(Distribution::Locally) method content

Provides Distribution#method_content

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

class Distribution::Hash

From Distribution::Hash

(Distribution::Hash) method content

Please check the content method in Distribution::Locally.

Returns an IO::Handle to the file represented by $name-path. $name-path is a relative path as it would be found in the metadata such as lib/Foo.pm6 or resources/foo.txt.

class Distribution::Path

From Distribution::Path

(Distribution::Path) method content

Distribution::Locally#method_content

Returns an IO::Handle to the file represented by $name-path. $name-path is a relative path as it would be found in the metadata such as lib/Foo.pm6 or resources/foo.txt.