Files
OpenCode 09ef1f000f 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
2026-05-29 19:07:56 +08:00

15 lines
536 B
PHP

<?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;
}