Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for get_files (0.77 sec)

  1. scripts/deploy_docs_status.py

        current_commit.create_status(
            state="success",
            description="Docs Deployed",
            context="deploy-docs",
            target_url=run_url,
        )
    
        files = list(use_pr.get_files())
        docs_files = [f for f in files if f.filename.startswith("docs/")]
    
        deploy_url = settings.deploy_url.rstrip("/")
        lang_links: dict[str, list[LinkData]] = {}
        for f in docs_files:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 05:56:53 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        }
    
        @Test
        public void testMultipleGetFile() throws IOException {
            // Calling getFile() multiple times should return the same file
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5 });
            File file1 = cos.getFile();
            File file2 = cos.getFile();
            assertEquals(file1.getAbsolutePath(), file2.getAbsolutePath());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertThat(file).isNull();
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
          assertEquals(dataSize, file.length());
          assertTrue(file.exists());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertThat(file).isNull();
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
          assertEquals(dataSize, file.length());
          assertTrue(file.exists());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        /**
         * Closes the stream and deletes the temporary file if it was not retrieved.
         * If an error occurs during file deletion, it is logged but not thrown to avoid
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        }
    
        @Override
        public boolean isResolved() {
            return getFile() != null;
        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        private static final String TOUCHFILE_NAME = "resolver-status.properties";
    
        @Override
        public boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository) {
            File file = artifact.getFile();
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            projectToClone.setPomFile(new File(new File(f.getParentFile(), "target"), "flattened.xml"));
            MavenProject clonedProject = projectToClone.clone();
            assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone");
            assertEquals(
                    projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        }
    
        @SuppressWarnings("deprecation")
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.consumerPom(session.getConfigProperties())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

            String resourceName,
            @Nullable File file) {
        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top