- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fileAttributeView (0.26 sec)
-
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandler.java
} @Override public void chmod(File f, int mode) throws IOException { PosixFileAttributeView fileAttributeView = Files.getFileAttributeView(f.toPath(), PosixFileAttributeView.class); fileAttributeView.setPermissions(convertToPermissionsSet(mode)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy
then: foo.directory foo.lastModified() > original child.text == "data" } def "uses fallback for touching empty files"() { given: def fileAttributeView = Stub(BasicFileAttributeView) { setTimes(_, _, _) >> { throw new FileSystemException("file: Operation not permitted") } } def path = Stub(java.nio.file.Path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
final Map<String, Object> metaDataMap = responseData.getMetaDataMap(); final Object fileAttributeView = metaDataMap.get(FileSystemClient.FILE_ATTRIBUTE_VIEW); try { if (fileAttributeView instanceof final AclFileAttributeView aclFileAttributeView) { aclFileAttributeView.getAcl().stream().forEach(acl -> {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
* */ public class FileSystemClient extends AbstractCrawlerClient { private static final Logger logger = LoggerFactory.getLogger(FileSystemClient.class); public static final String FILE_ATTRIBUTE_VIEW = "fileAttributeView"; public static final String FS_FILE_USER = "fsFileUser"; public static final String FS_FILE_GROUPS = "fsFileGroups"; protected String charset = Constants.UTF_8; @Resource
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.8K bytes - Viewed (0)