PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backups, Restore, Migration & Clone / trunk
WP STAGING – WordPress Backups, Restore, Migration & Clone vtrunk
4.11.0 4.10.0 4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / Framework / Filesystem / PartIdentifier.php
wp-staging / Framework / Filesystem Last commit date
Filters 3 days ago Scanning 3 days ago AbstractFileObject.php 3 days ago AbstractFilesystemScanner.php 3 days ago DebugLogReader.php 3 days ago DirectoryListing.php 3 days ago DirectorySize.php 3 days ago DiskWriteCheck.php 3 days ago FileObject.php 3 days ago Filesystem.php 3 days ago FilesystemExceptions.php 5 years ago FilesystemScanner.php 3 days ago FilesystemScannerDto.php 3 days ago FilterableDirectoryIterator.php 3 days ago LegacyFileRulesTrait.php 3 days ago LogCleanup.php 3 days ago LogFiles.php 3 days ago MissingFileException.php 3 years ago OPcache.php 3 days ago PartIdentifier.php 3 days ago PathChecker.php 3 days ago PathIdentifier.php 3 days ago Permissions.php 3 days ago WpUploadsFolderSymlinker.php 3 days ago
PartIdentifier.php
101 lines
1 <?php
2
3 namespace WPStaging\Framework\Filesystem;
4
5 class PartIdentifier
6 {
7
8 const DATABASE_PART_IDENTIFIER = 'wpstgdb';
9
10
11 const MU_PLUGIN_PART_IDENTIFIER = 'muplugins';
12
13
14 const PLUGIN_PART_IDENTIFIER = 'plugins';
15
16
17 const THEME_PART_IDENTIFIER = 'themes';
18
19
20 const UPLOAD_PART_IDENTIFIER = 'uploads';
21
22
23 const LANGUAGE_PART_IDENTIFIER = 'lang';
24
25
26 const DROPIN_PART_IDENTIFIER = 'dropins';
27
28
29
30
31
32 const OTHER_WP_CONTENT_PART_IDENTIFIER = 'otherfiles';
33
34
35 const WP_CONTENT_PART_IDENTIFIER = 'wpcontent';
36
37
38
39
40
41 const OTHER_WP_ROOT_PART_IDENTIFIER = 'rootfiles';
42
43
44 const WP_ROOT_PART_IDENTIFIER = 'wproot';
45
46
47 const WP_ROOT_FILES_PART_IDENTIFIER = 'wproot_files';
48
49
50 const WP_ADMIN_PART_IDENTIFIER = 'wpadmin';
51
52
53 const WP_INCLUDES_PART_IDENTIFIER = 'wpincludes';
54
55
56 const DATABASE_PART_SIZE_IDENTIFIER = 'sqlSize';
57
58
59 const MU_PLUGIN_PART_SIZE_IDENTIFIER = 'mupluginsSize';
60
61
62 const PLUGIN_PART_SIZE_IDENTIFIER = 'pluginsSize';
63
64
65 const THEME_PART_SIZE_IDENTIFIER = 'themesSize';
66
67
68 const UPLOAD_PART_SIZE_IDENTIFIER = 'uploadsSize';
69
70
71 const LANGUAGE_PART_SIZE_IDENTIFIER = 'langSize';
72
73
74 const DROPIN_PART_SIZE_IDENTIFIER = 'dropinsSize';
75
76
77 const WP_CONTENT_PART_SIZE_IDENTIFIER = 'wpcontentSize';
78
79
80 const WP_ROOT_PART_SIZE_IDENTIFIER = 'wpRootSize';
81
82
83
84
85
86
87
88
89
90 const DROP_IN_FILES = [
91 'object-cache.php',
92 'advanced-cache.php',
93 'db.php',
94 'db-error.php',
95 'install.php',
96 'maintenance.php',
97 'php-error.php',
98 'fatal-error-handler.php',
99 ];
100 }
101