PHP Класс Devise\Support\IO\FileDiff

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( File $File = null )
different ( string $target, string $source ) : array Gets the files that exist in both $target and $source and have different md5sums
missing ( string $target, string $source ) : array Gets the files that are inside of $target but missing from $source directory
unmodified ( string $target, string $source ) : array Returns all $target files that have not been overriden inside of $source directory

Защищенные методы

Метод Описание
md5 ( [type] $dir ) : [type] [md5 description]

Описание методов

__construct() публичный Метод

public __construct ( File $File = null )
$File File

different() публичный Метод

Gets the files that exist in both $target and $source and have different md5sums
public different ( string $target, string $source ) : array
$target string
$source string
Результат array

md5() защищенный Метод

[md5 description]
protected md5 ( [type] $dir ) : [type]
$dir [type]
Результат [type]

missing() публичный Метод

Gets the files that are inside of $target but missing from $source directory
public missing ( string $target, string $source ) : array
$target string
$source string
Результат array

unmodified() публичный Метод

Returns all $target files that have not been overriden inside of $source directory
public unmodified ( string $target, string $source ) : array
$target string
$source string
Результат array