From 908c8945d283bbee014d52577c3d2d4e0faab736 Mon Sep 17 00:00:00 2001 From: Rudy Ges Date: Tue, 19 Mar 2024 12:50:53 +0100 Subject: [PATCH] Naming --- std/haxe/macro/CompilationServer.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/std/haxe/macro/CompilationServer.hx b/std/haxe/macro/CompilationServer.hx index 7d9dd9a2aa2..0b28d1cda70 100644 --- a/std/haxe/macro/CompilationServer.hx +++ b/std/haxe/macro/CompilationServer.hx @@ -24,7 +24,7 @@ package haxe.macro; import haxe.macro.Compiler; -enum abstract FileCheckPolicy(Int) { +enum abstract FileSystemCheckPolicy(Int) { /** Disables file modification checks, avoiding some filesystem operations. **/ @@ -49,7 +49,7 @@ enum abstract FileCheckPolicy(Int) { class CompilationServer { #if macro /** - Sets the `FileCheckPolicy` of all files whose dot-path matches an + Sets the `FileSystemCheckPolicy` of all files whose dot-path matches an element of `pathFilters`. If `recursive` is true, a dot-path is considered matched if it starts @@ -63,7 +63,7 @@ class CompilationServer { If a call to this function is added to the compilation parameters, the compilation server should be restarted to ensure it takes effect. **/ - static public function setModuleFileSystemCheckPolicy(pathFilters:Array, policy:Array, ?recursive = true) { + static public function setModuleFileSystemCheckPolicy(pathFilters:Array, policy:Array, ?recursive = true) { Context.onAfterInitMacros(() -> { @:privateAccess Compiler.load("server_add_module_fs_check_policy", 4)(pathFilters, policy, recursive); });