The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PFT::Content::Blob - Binary file

SYNOPSIS

    use PFT::Content::Blob;

    my $p = PFT::Content::Blob->new({
        tree    => $tree,
        path    => $path,
        relpath => ['animals', 'cats', 'meow.png'], # decoded strings
    })

DESCRIPTION

PFT::Content::Blob is the basetype for all binary-based content files. It inherits from PFT::Content::File and has two specific subtypes: PFT::Content::Picture and PFT::Content::Attachment.

Properties

relpath

Relative path in form of a list.

A good use for it could be, concatenating it using File::Spec->catfile.