Initial commit: WordPress wp-content (themes, plugins, languages)
- Theme: momentry (custom theme with REST API routes) - Plugins: code-snippets (contains all API proxies) - Languages: zh_TW translations - Excludes: cache, backups, uploads, logs
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Code_Snippets;
|
||||
|
||||
interface File_System_Interface {
|
||||
public function put_contents( string $path, string $contents, $chmod );
|
||||
public function exists( string $path ): bool;
|
||||
public function delete( $file, $recursive = false, $type = false ): bool;
|
||||
public function is_dir( string $path ): bool;
|
||||
public function mkdir( string $path, $chmod );
|
||||
public function rmdir( string $path, bool $recursive = false ): bool;
|
||||
public function chmod( string $path, $chmod ): bool;
|
||||
public function is_writable( string $path ): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user