logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::Trac::TicketAttachment - Represents a single attachment for a Trac ticket

Accessors

connection
       Returns the Net::Trac::Connection used by this class.

   ticket
       Returns the ID of the ticket to which this attachment belongs.

   filenamedescriptionurl
       Relative to the remote Trac instance URL as set in the Net::Trac::Connection.

   content
       returns the content of the attachment

   content_type
       returns the content_type of the attachment

   size
       In bytes.

   authordate
       Returns a DateTime object.

Description

       This class represents a single attachment for a Trac ticket.  You do not want to deal with instantiating
       this class yourself.  Instead let Net::Trac::Ticket do the work.

License

       Copyright 2008-2009 Best Practical Solutions.

       This package is licensed under the same terms as Perl 5.8.8.

perl v5.36.0                                       2022-12-12                   Net::Trac::TicketAttachment(3pm)

Name

       Net::Trac::TicketAttachment - Represents a single attachment for a Trac ticket

Private Methods

_parse_html_chunkSTRING
       Parses a specific chunk of HTML (as extracted by Net::Trac::Ticket) into the various fields.

See Also