Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
course_files

Migrates all files in the given directory.

Migrates all files in the given directory

Parameters
string$rootpathpath within the backup archive to the root directory containing the files {'}
string$relpathrelative path used during the recursion - do not provide when calling this!
Return values
arrayids of the migrated files, empty array if the $rootpath not found