moodle/lib/filestorage
Cameron Ball 03756f0bdb
MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool
For historical reasons repositories need to call add_file_to_pool
to sync file records. However now that a before_file_created hook
has been added additional information is needed by add_file_to_pool.

Ideally add_file_to_pool and friends will become private/protected,
so we need to remove all uses of it in core.

This patch adds some new methods to the file class to allow syncing
to be managed internally by the file and the file_storage class.
2017-08-07 15:50:15 +08:00
..
tests MDL-58718 filestorage: Normalise file paths for Windows 2017-04-26 09:36:10 +08:00
file_archive.php MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
file_exceptions.php MDL-44315 phpdoc: fixed up typos and made up tags 2014-02-24 09:13:31 +13:00
file_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
file_progress.php MDL-41838 Files: Implement .tar.gz packer (1 of 2) 2013-10-08 13:04:48 +01:00
file_storage.php MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool 2017-08-07 15:50:15 +08:00
file_system.php MDL-58297 filestorage: New functions for hash calculation 2017-04-07 10:40:23 +08:00
file_system_filedir.php MDL-58718 filestorage: Normalise file paths for Windows 2017-04-26 09:36:10 +08:00
mbz_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
stored_file.php MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool 2017-08-07 15:50:15 +08:00
tgz_extractor.php MDL-43794 Files API Set the mtime of files to extraction time. 2014-01-22 11:06:39 -05:00
tgz_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00
zip_archive.php MDL-59005 resource: fixed zip extraction for filenames in CP-1251/CP-866 2017-06-19 08:50:23 +08:00
zip_packer.php MDL-24343 core: Deprecate unzip_file 2016-08-03 09:05:55 +08:00