Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 178 for mkdir (0.02 seconds)

  1. src/main/java/jcifs/smb/SmbFile.java

                        }
                        parent.mkdirs();
                    }
                } catch (final SmbException e) {
                    if (log.isDebugEnabled()) {
                        log.debug("Failed to ensure parent exists " + p, e);
                    }
                    throw e;
                }
                try {
                    mkdir();
                } catch (final SmbException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile dir = new SmbFile(baseUrl + "shared/newdir_" + timestamp + "/", dirContext);
    
            assertFalse(dir.exists(), "Directory should not exist initially");
    
            dir.mkdir();
            dir.close();
            Thread.sleep(200);
    
            CIFSContext checkContext = createFreshContext();
            SmbFile checkDir = new SmbFile(baseUrl + "shared/newdir_" + timestamp + "/", checkContext);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  3. api/except.txt

    pkg os, const ModeType = 2399141888
    pkg os, const ModeType = 2399666176
    pkg os, const ModeType FileMode
    pkg os, func Chmod(string, FileMode) error
    pkg os, func Lstat(string) (FileInfo, error)
    pkg os, func Mkdir(string, FileMode) error
    pkg os, func MkdirAll(string, FileMode) error
    pkg os, func OpenFile(string, int, FileMode) (*File, error)
    pkg os, func SameFile(FileInfo, FileInfo) bool
    pkg os, func Stat(string) (FileInfo, error)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 22 21:16:03 GMT 2026
    - 34.8K bytes
    - Click Count (0)
  4. docs/debugging/inspect/decrypt-v2.go

    		}
    		if strings.Contains(stream.Name, "..") || !utf8.ValidString(stream.Name) {
    			return fmt.Errorf("invalid stream name: %q", stream.Name)
    		}
    
    		dst := filepath.Join(extractDir, stream.Name)
    		os.Mkdir(extractDir, 0o755)
    		w, err := os.Create(dst)
    		if err != nil {
    			return fmt.Errorf("creating output file: %w", err)
    		}
    		_, err = io.Copy(w, stream)
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbResource.java

         * (although in the future it may be possible to create shares).
         *
         * @throws CIFSException if an error occurs creating the directory
         */
        void mkdir() throws CIFSException;
    
        /**
         * This method returns the free disk space in bytes of the drive this share
         * represents or the drive on which the directory or file resides. Objects
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  6. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
      private File newFile(String name) throws IOException {
        File file = new File(rootDir, name);
        file.createNewFile();
        return file;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
      private File newFile(String name) throws IOException {
        File file = new File(rootDir, name);
        file.createNewFile();
        return file;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            this.propertiesFile = file;
            if (!this.propertiesFile.exists()) {
                final File parentDir = this.propertiesFile.getParentFile();
                if (!parentDir.exists()) {
                    if (!parentDir.mkdir()) {
                        throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() });
                    }
                } else if (!parentDir.isDirectory()) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. scripts/translate.py

            "`en` is the source language, choose another language as translation target"
        )
        langs = get_langs()
        language_name = langs[language]
        lang_path = Path(f"docs/{language}")
        lang_path.mkdir(exist_ok=True)
        lang_prompt_path = lang_path / "llm-prompt.md"
        assert lang_prompt_path.exists(), f"Prompt file not found: {lang_prompt_path}"
        lang_prompt_content = lang_prompt_path.read_text(encoding="utf-8")
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/IoTestCase.java

       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
          throw new IOException("failed to create temp dir");
        }
        filesToDelete.add(tempFile);
        return tempFile;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
Back to Top