Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for vfsfile (0.08 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt

    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class CheckSubprojectsInfo : SubprojectsInfo() {
    
        @TaskAction
        fun checkSubprojectsInfo() {
            if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) {
                throw GradleException(
                    "New project(s) added without updating subproject JSON. Please run `:${GenerateSubprojectsInfo.TASK_NAME}` task."
                )
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

        public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException {
            PersistedToolchains toolchains = null;
    
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

        void transform(TransformOutputs outputs) {
            File gradleJars = outputs.dir("gradle-jars")
            File dependencies = outputs.dir("gradle-dependencies")
            try (ZipInputStream zin = new ZipInputStream(artifact.get().asFile.newInputStream())) {
                ZipEntry zipEntry
                while (zipEntry = zin.nextEntry) {
                    String shortName = zipEntry.name
                    if (shortName.contains('/')) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 08 13:44:59 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

            else -> "Incubating since $version"
        }
    
        private
        fun generateReport(data: Map<String, ReportNameToProblems>) {
            val outputFile = parameters.htmlReportFile.get().asFile
            outputFile.parentFile.mkdirs()
            outputFile.printWriter(Charsets.UTF_8).use { writer ->
                writer.println(
                    """<html lang="en">
        <head>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  5. cmd/common-main.go

    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    	GlobalKMS = KMS
    }
    
    func getTLSConfig() (x509Certs []*x509.Certificate, manager *certs.Manager, secureConn bool, err error) {
    	if !(isFile(getPublicCertFile()) && isFile(getPrivateKeyFile())) {
    		return nil, nil, false, nil
    	}
    
    	if x509Certs, err = config.ParsePublicCertFile(getPublicCertFile()); err != nil {
    		return nil, nil, false, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
      return directories.flatMap {
        it.listFiles().orEmpty().filter { f -> f.isFile }.toList()
      }
    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
        val mainFiles = mainFiles()
        return mainFiles.map {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

        init {
            lowestTestedVersion = GradleVersion.version("3.0")
            lowestInterestingVersion = GradleVersion.version("0.8")
    
            val releasedVersions = releasedVersionsFile.asFile.reader().use {
                Gson().fromJson(it, ReleasedVersions::class.java)
            }
    
            val latestFinalRelease = releasedVersions.finalReleases.first()
            val latestRelease =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val apiChangesDirectory: DirectoryProperty
    
        protected
        fun loadChanges(): Map<File, List<AcceptedApiChange>> {
            return apiChangesDirectory.get().asFile.listFiles()
                ?.filter {
                    it.name.endsWith(".json")
                }?.associate {
                    it to it.readAcceptedChanges()
                }?.filterValues {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX);
                if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) {
                    if (noImageFile.isFile() && !noImageFile.delete()) {
                        logger.warn("Failed to delete {}", noImageFile.getAbsolutePath());
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top