- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tryReportFileOpened (0.16 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/NioFileInterceptors.java
) throws IOException { tryReportFileOpened(path, consumer); return Files.readAllBytes(path); } @InterceptCalls @StaticMethod(ofClass = Files.class) public static List<String> intercept_readAllLines( Path path, @CallerClassName String consumer ) throws IOException { tryReportFileOpened(path, consumer); return Files.readAllLines(path);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 12.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/FileUtils.java
public static boolean optionsAllowReading(Set<?> options) { return optionsAllowReading(Cast.<Set<OpenOption>>uncheckedNonnullCast(options).toArray(new OpenOption[0])); } public static void tryReportFileOpened(Path path, String consumer) { File file = toFileIfAvailable(path); if (file != null) { Instrumented.fileOpened(file, consumer); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 06 01:37:44 UTC 2023 - 2.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java
FileUtils.tryReportFileOpened(file, consumer); return (String) FILES_READ_STRING_PATH.get().invokeExact(file); } public static String filesReadString(Path file, Charset charset, String consumer) throws Throwable { FileUtils.tryReportFileOpened(file, consumer);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 34.2K bytes - Viewed (0)