Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes
tgz_packer.php File Reference

Implementation of .tar.gz packer. More...

Classes

class  tgz_packer
 
class  tgz_packer_extract_to_pathname
 Handles extraction to pathname. More...
 
class  tgz_packer_extract_to_storage
 Handles extraction to file storage. More...
 

Detailed Description

Implementation of .tar.gz packer.

A limited subset of the .tar format is supported. This packer can open files that it wrote, but may not be able to open files from other sources, especially if they use extensions. There are restrictions on file length and character set of filenames.

We generate POSIX-compliant ustar files. As a result, the following restrictions apply to archive paths:

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later