TeXLive::TLTREE
-- TeX Live tree of all files
use TeXLive::TLTREE;
my $tltree = TeXLive::TLTREE->new();
$tltree->init_from_svn();
$tltree->init_from_statusfile();
$tltree->init_from_files();
$tltree->init_from_git();
$tltree->init_from_gitsvn();
$tltree->print();
$tltree->find_alldirs();
$tltree->print_node();
$tltree->walk_tree();
$tltree->add_path_to_tree();
$tltree->file_svn_lastrevision();
$tltree->size_of();
$tltree->get_matching_files();
$tltree->files_under_path();
$tltree->svnroot();
$tltree->revision();
$tltree->architectures();
DOCUMENTATION MISSING, SORRY!!!
The function get_matching_files takes as arguments the type of the pattern (bin, src, doc, run), the pattern itself, the package name (without .ARCH specifications), and an optional architecture. It returns a list of files matching that pattern (in the case of bin patterns for that arch).
The modules TeXLive::TLPSRC, TeXLive::TLPOBJ, TeXLive::TLPDB, TeXLive::TLUtils, etc., and the documentation in the repository: Master/tlpkg/doc/
.
This script and its documentation were written for the TeX Live distribution (https://tug.org/texlive) and both are licensed under the GNU General Public License Version 2 or later.