tarCopyMovedLine.php
Table of Contents
Functions
- tarCopyMovedLine() : string
- Writes the sentence that names the files tar saw move while it copied them.
Functions
tarCopyMovedLine()
Writes the sentence that names the files tar saw move while it copied them.
tarCopyMovedLine(array<string|int, string> $moved, string $what[, int|null $limit = null ]) : string
The moved list of tarCopyOutcome(), put in words for a terminal, a log or a mail. A
terminal can take every file; a mail or a report should take a few: a cache folder that keeps
changing must not make a message of a thousand lines. So a limit names that many at most, and
says how many it left out. The count is always of every file.
Parameters
- $moved : array<string|int, string>
-
The files, as tar named them.
- $what : string
-
What was being copied, e.g.
contentorthe site root. - $limit : int|null = null
-
How many files to name at most, one at least; null names them all.
Tags
Return values
string —The sentence; an empty string when no file moved.