PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / trunk
JetBackup – Backup, Restore & Migrate vtrunk
3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 1.6.11 1.6.12 1.6.13 1.6.15 1.6.5.1 1.6.8.8 1.6.9 1.6.9.1 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7.5 2.0.8.7 2.0.9.11 2.0.9.14 2.0.9.15 2.0.9.6 2.0.9.7 2.0.9.9 3.1.10.7 3.1.11.1 3.1.12.3 3.1.13.4 3.1.14.17 3.1.15.4 3.1.16.1 3.1.17.5 3.1.18.10 3.1.18.8 3.1.18.9 3.1.19.8 3.1.20.3 3.1.21.3 3.1.7.9 3.1.9.2 trunk 1.1.90 1.1.91 1.2.0 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2
backup / src / JetBackup / Destination / Integration / DestinationFile.php
backup / src / JetBackup / Destination / Integration Last commit date
.htaccess 1 year ago Destination.php 1 year ago DestinationChunkedDownload.php 1 year ago DestinationChunkedUpload.php 1 year ago DestinationDirIterator.php 1 year ago DestinationDiskUsage.php 1 year ago DestinationFile.php 1 year ago index.html 1 year ago web.config 1 year ago
DestinationFile.php
100 lines
1 <?php
2
3 namespace JetBackup\Destination\Integration;
4
5 if (!defined( '__JETBACKUP__')) die('Direct access is not allowed');
6
7 interface DestinationFile {
8
9 const TYPE_UNKNOWN = 0;
10 const TYPE_FILE = 1;
11 const TYPE_DIRECTORY = 2;
12 const TYPE_LINK = 3;
13 const TYPE_BLOCK = 4;
14 const TYPE_FIFO = 5;
15 const TYPE_SOCKET = 6;
16 const TYPE_NETWORK = 7;
17 const TYPE_CHAR = 8;
18
19 const TYPE_NAMES = [
20 self::TYPE_UNKNOWN => "Unknown",
21 self::TYPE_FILE => "File",
22 self::TYPE_DIRECTORY => "Directory",
23 self::TYPE_LINK => "Link",
24 self::TYPE_BLOCK => "Block Device",
25 self::TYPE_FIFO => "Fifo",
26 self::TYPE_SOCKET => "Socket",
27 self::TYPE_NETWORK => "Network",
28 self::TYPE_CHAR => "Char",
29 ];
30
31 /**
32 * @return string
33 */
34 public function getPath(): string;
35
36 /**
37 * @return string
38 */
39 public function getName(): string;
40
41 /**
42 * @return string
43 */
44 public function getFullPath(): string;
45
46 /**
47 * @return int
48 */
49 public function getType(): int;
50
51 /**
52 * @return int
53 */
54 public function getSize(): int;
55
56 /**
57 * @return int
58 */
59 public function getModifyTime(): int;
60
61 /**
62 * @return string
63 */
64 public function getOwner(): string;
65
66 /**
67 * @return string
68 */
69 public function getGroup(): string;
70
71 /**
72 * @return int
73 */
74 public function getPermissions();
75
76 /**
77 * @return string
78 */
79 public function getLinkTarget();
80
81 /**
82 * @return string
83 */
84 public function getFileId();
85
86 /**
87 * @return string
88 */
89 public function getFilesDir();
90
91 /**
92 * @return string
93 */
94 public function getFileData();
95
96 /**
97 * @return array
98 */
99 public function getData();
100 }