doc.silverstripe.org/app/code/updaters/MarkdownUpdater.php
Damian Mooyman 6604109f31
API Split updater into a service and provide two default implementations:
- GitMarkdownUpdater
 - SVNMarkdonUpdater
Add logging for errors to SS_Log
Secure escaping of shell arguments and error detection
2016-06-24 17:48:27 +12:00

13 lines
221 B
PHP

<?php
interface MarkdownUpdater {
/**
* @param string $repo
* @param string $path
* @param string $branch
* @return array List of any errors that occurred
*/
public function update($repo, $path, $branch);
}