Lines Matching refs:mutate
183 * @param bool $mutate false = preview only, true = rewrite on disk
186 protected function runScan($mutate) argument
210 $results[$label] = $this->walkSection($cfg['root'], $cfg['kind'], $mutate);
220 * @param bool $mutate
223 protected function walkSection($root, $kind, $mutate) argument
254 ? $this->processChangelog($path, $mutate)
255 : $this->processMetaFile($path, $mutate);
310 * @param bool $mutate false = count lines that would change, true = rewrite
313 protected function processChangelog($path, $mutate) argument
315 if ($mutate) io_lock($path);
343 if (!$mutate) return $changed;
351 if ($mutate) io_unlock($path);
370 * @param bool $mutate
373 protected function processMetaFile($path, $mutate) argument
375 if ($mutate) io_lock($path);
396 if (!$mutate) return $changed;
401 if ($mutate) io_unlock($path);