Path specifications are either pointers to storage files based on entity name and VPID
or a concrete path (optionally with wildcards).
An example:
[
['type' => 'storage-file', 'entity' => 'post', 'id' => VPID, 'parent-id' => null],
['type' => 'storage-file', 'entity' => 'usermeta', 'id' => VPID, 'parent-id' => user-VPID],
['type' => 'all-storage-files', 'entity' => 'option'],
['type' => 'path', 'path' => '/var/www/wp/example.txt'],
['type' => 'path', 'path' => '/var/www/wp/folder/*']
]
public getChangedFiles ( ) : array | ||
Résultat | array |