Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for dotfile (0.17 sec)

  1. src/archive/zip/reader.go

    		i--
    	}
    	if i < 0 {
    		return ".", name, isDir
    	}
    	return name[:i], name[i+1:], isDir
    }
    
    var dotFile = &fileListEntry{name: "./", isDir: true}
    
    func (r *Reader) openLookup(name string) *fileListEntry {
    	if name == "." {
    		return dotFile
    	}
    
    	dir, elem, _ := split(name)
    	files := r.fileList
    	i := sort.Search(len(files), func(i int) bool {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    File pomFile,
                    Set<File> aggregatorFiles,
                    boolean isRoot,
                    boolean recursive) {
                MavenProject project = new MavenProject();
                project.setFile(pomFile);
    
                project.setRootDirectory(
                        rootLocator.findRoot(pomFile.getParentFile().toPath()));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                }
    
                File pomFile = pomArtifact.getFile();
                if (pomFile != null && pomFile.canRead()) {
                    this.length = pomFile.length();
                    this.timestamp = pomFile.lastModified();
                } else {
                    this.length = -1;
                    this.timestamp = -1;
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  5. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsoluteFile(), source.getFile());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
                String fileString = actFile.getExists();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

         * @param pomFile The POM file from which the project was built, may be {@code null}.
         * @param problems The problems that were encountered, may be {@code null}.
         */
        DefaultProjectBuildingResult(String projectId, File pomFile, List<ModelProblem> problems) {
            this.projectId = (projectId != null) ? projectId : "";
            this.pomFile = pomFile;
            this.project = null;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        return
                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
                    String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
                    File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir)
                    outFile.parentFile.mkdirs()
    
                    execOps.javaexec {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            this.project = project;
    
            artifact.setFile(project.getArtifact().getFile());
            artifact.setResolved(true);
        }
    
        /** {@inheritDoc} */
        public File getFile() {
            // we need to get the latest file for the project, not the artifact that was created at one point in time
            return project.getArtifact().getFile();
        }
    
        /** {@inheritDoc} */
        public String getGroupId() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject module = new MavenProject(moduleModel);
            module.setFile(new File("module-dir/pom.xml"));
    
            Model parentModel = new Model();
            parentModel.addModule("../module-dir");
    
            MavenProject parent = new MavenProject(parentModel);
            parent.setFile(new File("parent-dir/pom.xml"));
    
            String pathAdjustment = parent.getModulePathAdjustment(module);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top