file_type = FT_OTHER;
} else {
file_type = FT_DEVICE;
}
file_access_time = attrs.lastAccessTime().to(TimeUnit.SECONDS);
file_create_time = attrs.creationTime().to(TimeUnit.SECONDS);
file_modify_time = attrs.lastModifiedTime().to(TimeUnit.SECONDS);
file_access = 0;
if (Files.isReadable(path)) file_access |= FILE_ACCESS_READ;