DvcsDownloaderInterface.php 643 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of Composer.
  4. *
  5. * (c) Nils Adermann <naderman@naderman.de>
  6. * Jordi Boggiano <j.boggiano@seld.be>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Composer\Downloader;
  12. /**
  13. * DVCS Downloader interface.
  14. *
  15. * @author James Titcumb <james@asgrim.com>
  16. */
  17. interface DvcsDownloaderInterface
  18. {
  19. /**
  20. * Checks for unpushed changes to a current branch
  21. *
  22. * @param string $path package directory
  23. * @return string|null changes or null
  24. */
  25. public function getUnpushedChanges($path);
  26. }