소스 검색

Adds some missing functions related to the file system (#9522)

Cédric Belin 5 년 전
부모
커밋
ccf5dc58aa
1개의 변경된 파일25개의 추가작업 그리고 0개의 파일을 삭제
  1. 25 0
      std/php/Global.hx

+ 25 - 0
std/php/Global.hx

@@ -765,6 +765,31 @@ extern class Global {
 	**/
 	static function is_dir(filename:String):Bool;
 
+	/**
+		@see http://php.net/manual/en/function.is-executable.php
+	**/
+	static function is_executable(filename:String):Bool;
+
+	/**
+		@see http://php.net/manual/en/function.is-file.php
+	**/
+	static function is_file(filename:String):Bool;
+
+	/**
+		@see http://php.net/manual/en/function.is-link.php
+	**/
+	static function is_link(filename:String):Bool;
+
+	/**
+		@see http://php.net/manual/en/function.is-readable.php
+	**/
+	static function is_readable(filename:String):Bool;
+
+	/**
+		@see http://php.net/manual/en/function.is-writable.php
+	**/
+	static function is_writable(filename:String):Bool;
+
 	/**
 		@see http://php.net/manual/en/function.rename.php
 	**/