Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for subdir2 (1 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

            def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile()
            def notUnderRoot = temporaryFolder.createDir("root2").file("a.txt").createFile()
            def doesNotExist = rootDir.file("b.txt")
    
            when:
            def patterns = new PatternSet()
            patterns.include("**/*.txt")
            patterns.exclude("subdir1/**")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileCollectionSpec.groovy

            dir1.file("subdir/f2").createFile()
            TestFile missing = testDir.file("f3")
            testDir.file("f2").createFile()
            testDir.file("ignored1").createFile()
            def collection = containing(file1, dir1, missing)
            def tree = collection.asFileTree
    
            expect:
            assertSetContainsForFileSet(tree, toSet("f1", "f2", "subdir/f2"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/kotlin/producer/build.gradle.kts

    val makeFile = tasks.register("makeFile") {
        val sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile.writeText("This file is shared across Gradle subprojects.")
        }
    }
    
    val sharedConfiguration by configurations.creating {
        isCanBeResolved = false
    }
    
    artifacts {
        add(sharedConfiguration.name, makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 409 bytes
    - Viewed (0)
  4. src/io/fs/format.go

    }
    
    // FormatDirEntry returns a formatted version of dir for human readability.
    // Implementations of [DirEntry] can call this from a String method.
    // The outputs for a directory named subdir and a file named hello.go are:
    //
    //	d subdir/
    //	- hello.go
    func FormatDirEntry(dir DirEntry) string {
    	name := dir.Name()
    	b := make([]byte, 0, 5+len(name))
    
    	// The Type method does not return any permission bits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyIntegrationTest.groovy

            def subdir = repo.file("subdir")
            repo.workTree.listFiles().each {
                if (it.name == '.git') {
                    return
                }
                it.copyTo(subdir.file(it.name))
                it.delete()
            }
            commit = repo.commit('updated')
            mappingFor(repo, "org.test:dep", 'rootDir = "subdir"')
    
            expect:
            succeeds('assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/jsonnetfile.json

    {
      "version": 1,
      "dependencies": [
        {
          "source": {
            "git": {
              "remote": "https://github.com/grafana/grafonnet.git",
              "subdir": "gen/grafonnet-latest"
            }
          },
          "version": "main"
        }
      ],
      "legacyImports": true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 266 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/groovy/producer/build.gradle

    def makeFile = tasks.register("makeFile") {
        def sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile << "This file is shared across Gradle subprojects."
        }
    }
    
    configurations {
        sharedConfiguration {
            canBeResolved = false
        }
    }
    
    artifacts {
        sharedConfiguration(makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 389 bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy

            }
            if (currentDepth < maxDepth) {
                for (int i = 0; i < dirCount; i++) {
                    TestFile subDir = parentDir.createDir("dir" + fileIdGenerator.incrementAndGet())
                    generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

          IsOk());
      ASSERT_THAT(env->RecursivelyCreateDir(absl::StrCat(*tmp_dir, "/subdir")),
                  IsOk());
    
      absl::StatusOr<std::vector<std::string>> children = ListDirectory(*tmp_dir);
      EXPECT_THAT(children, IsOk());
      EXPECT_THAT(children.value(), SizeIs(3));
      EXPECT_THAT(children.value(),
                  UnorderedElementsAre("subdir", "tmp_file1", "tmp_file2"));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/common/path_config.cc

      if (source_tfroot_pos != source_path_components.end()) {
        tf_prefix_dir =
            absl::StrJoin(source_path_components.begin(), source_tfroot_pos, "/");
      } else {
        tf_prefix_dir = source_dir;
      }
    
      // TF subdir, e.g. "c/ops" given output_dir "blah/blah/tensorflow/c/ops"
      std::vector<string> output_path_components =
          tensorflow::str_util::Split(output_dir, "/");
      auto output_tfroot_pos = std::find(output_path_components.begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top