NoLinksExistOnWindowsInterface.php
Namespace
PhpTuf\ComposerStager\API\Precondition\ServiceFile
-
vendor/
php-tuf/ composer-stager/ src/ API/ Precondition/ Service/ NoLinksExistOnWindowsInterface.php
View source
<?php
declare (strict_types=1);
namespace PhpTuf\ComposerStager\API\Precondition\Service;
/**
* Asserts that there are no links at all if on Windows.
*
* This precondition is fulfilled unless BOTH the host is Windows AND the codebase contains symlinks.
*
* This includes both the active and staging directories.
*
* It doesn't matter whether the given directories actually exist. In order to isolate failures and avoid redundancy,
* that question is left to its own preconditions. Except in the event of an IO error (which will throw an exception
* according to the relevant interface), this one cares about literally nothing else if it doesn't actually find a
* link on a Windows host.
*
* This interface exists solely to facilitate autowiring dependencies through type hinting.
*
* @see https://symfony.com/doc/current/service_container/autowiring.html
*
* @package Precondition
*
* @api This interface is subject to our backward compatibility promise and may be safely depended upon.
*/
interface NoLinksExistOnWindowsInterface extends PreconditionInterface {
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
NoLinksExistOnWindowsInterface | Asserts that there are no links at all if on Windows. |