first commit
This commit is contained in:
14
vendor/league/flysystem/src/ChecksumProvider.php
vendored
Normal file
14
vendor/league/flysystem/src/ChecksumProvider.php
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace League\Flysystem;
|
||||
|
||||
interface ChecksumProvider
|
||||
{
|
||||
/**
|
||||
* @return string MD5 hash of the file contents
|
||||
*
|
||||
* @throws UnableToProvideChecksum
|
||||
* @throws ChecksumAlgoIsNotSupported
|
||||
*/
|
||||
public function checksum(string $path, Config $config): string;
|
||||
}
|
Reference in New Issue
Block a user