Lines Matching full:file
17 * - receive the current tag file configuration of doxycode
18 * - upload a doxygen tag file (e.g. from a CI/CD pipeline)
34 'return' => 'Array of Tag File Configurations',
35 'doc' => 'Get the current tag file configuration of doxycode.',
40 'doc' => 'Upload a tag file to the tag file directory.'
46 * List all Tag File Configurations for Doxycode
48 * @return Array Doxyoce tag file configuration
61 * Upload a Doxycode Tag File
63 * The tag file will only be accepted if a configuration exists for it and if it is enabled.
66 * @param string $filename The filename of the doxygen tag file
67 * @param string $file Contents of the doxygen tag file
70 public function uploadTagFile($filename, $file) argument
85 // check file against existing configuration
92 // TODO: should we always update the file?
93 // we could also check if the file is updated, so mtime is not update
103 $new_hash = md5($file);
106 // move file into position
108 // TODO: we should also check if we have a valid tag file on hand!
111 @file_put_contents($existing_file, $file);