Debian::LicenseReconcile::CopyrightTarget(3pm)

Debian::LicenseReconcile::CopyrightTarget3pm

File patterns mapped to debian copyright

Usage

    use Debian::LicenseReconcile::CopyrightTarget;
    my $copyright_target = Debian::LicenseReconcile::CopyrightTarget->new;
    $copyright_target->parse($text);

Version

Version 0.16

Subroutines/methods

new

This constructor returns an empty copyright target object.

parse

This takes as an argument the copyright data. If the copyright data cannot be parsed by Debian::Copyright then the method returns undef and reports an error via Debian::LicenseReconcile::Errors.

map_directory

Takes a directory path and attempts to map the contents of that directory onto the copyright specification. It returns a hash reference containing that mapping.

patterns

Returns the file to License and Copyright mapping.

Releases

3 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9
  3. 10

Author

Nicholas Bamber, "<nicholas at periapt.co.uk>"

From license-reconcile 0.16 in Debian 10 (Buster). Parsed by carta from the page's man source.