- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for fileExists (0.05 seconds)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
* * @param path the file path relative to the servlet context * @return true if the file exists, false otherwise */ public static boolean fileExists(final String path) { final File file = new File(LaServletContextUtil.getServletContext().getRealPath(path)); return file.exists(); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
RELEASE.md
* `BusAdjacency` enum replaced with a protocol buffer `DeviceLocality`. PCI bus indexing now starts from 1 instead of 0, and `bus_id==0` is used where previously `BUS_ANY` was used. * `Env::FileExists` and `FileSystem::FileExists` now return a tensorflow::Status instead of a bool. Any callers to this function can be converted to a bool by adding .ok() to the call.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
void testMessageFormatting() { // With custom message exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_EXISTS, "document.pdf already exists"); assertTrue(exception.getMessage().contains("FILE_EXISTS")); assertTrue(exception.getMessage().contains("File already exists")); assertTrue(exception.getMessage().contains("document.pdf already exists"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
// File system errors FILE_NOT_FOUND("File not found", ErrorCategory.FILE_SYSTEM, false), PATH_NOT_FOUND("Path not found", ErrorCategory.FILE_SYSTEM, false), FILE_EXISTS("File already exists", ErrorCategory.FILE_SYSTEM, false), DIRECTORY_NOT_EMPTY("Directory not empty", ErrorCategory.FILE_SYSTEM, false), DISK_FULL("Disk full", ErrorCategory.RESOURCE,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0)