Lintian::Reporting::ResourceManager - Online Linux Manual PageSection : 3
Updated : 2020-11-27
Source : Lintian v2.104.0
Note : Debian Package Checker

NAMELintian::Reporting::ResourceManager −− A simple resource manager for html_reports

SYNOPSIS​ use Lintian::Reporting::ResourceManager; ​ ​ my $resMan = Lintian::Reporting::ResourceManager−>new( ​ 'html_dir' => 'path/to/HTML−root', ​ ); ​ # Copy the resource ​ $resMan−>install_resource('path/to/my−image.png', { install_method => 'copy'} ); ​ # Move the resource ​ $resMan−>install_resource('path/to/generated−styles.css'); ​ print 'Image: ' . $resMan−>resource_URL('my−image.png'), "\n"; ​ print 'CSS: ' . $resMan−>resource_URL('generated−styles.css'), "\n";

DESCRIPTIONA simple resource manager for Lintian's reporting tool, ​html_reports.

CLASS METHODSnew(TYPE, OPTS) Instantiates a new resource manager. OPTS is a key-value list, which must contain the key html_dir set to the root of the HTML path. It is beneath this path that all resources will be installed

INSTANCE METHODSinstall_resource(RESOURCE[, OPT]) Installs RESOURCE into the html root. The resource may be renamed (based on content etc.). Note that the basename of RESOURCE must be unique between all resources installed. See resource_URL(RESOURCE_NAME). If OPT is given, it must be a hashref with 0 or more of the following keys (and values). install_method Can be copy or move (default). If set to move, the original file will be renamed into its new location. Otherwise, a copy is done and the original file is left in place. source_file By default, the path denoted by RESOURCE is both the resource name and the source file. This option can be used to install a given file as ​RESOURCE regardless of the basename of the source file. If this is passed, RESOURCE must be a basename (i.e. without any slashes). resource_URL(RESOURCE_NAME) Returns the path (relative to the HTML root) to a resource installed via install_resource(RESOURCE), where RESOURCE_NAME is the basename of the path given to install_resource. resource_integrity_value(RESOURCE_NAME) Return a string that is valid in the integrity field of a <link> HTML tag. (See https://www.w3.org/TR/SRI/)

AUTHOROriginally written by Niels Thykier <niels@thykier.net> for Lintian.
0
Johanes Gumabo
Data Size   :   8,999 byte
man-Lintian::Reporting::ResourceManager.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 258,905
Visitor ID   :     :  
Visitor IP   :   18.189.143.150   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|Lintian::Reporting::ResourceManager.3|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Lintian::Reporting::ResourceManager.3|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|252|Lintian::Reporting::ResourceManager.3|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Lintian::Reporting::ResourceManager.3|43|'br══─}─══ |'br══─}─══ )