Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 135 for mkdir (0.02 sec)

  1. cmd/xl-storage.go

    	uuid := mustGetUUID()
    	filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp")
    
    	// Create top level directories if they don't exist.
    	// with mode 0o777 mkdir honors system umask.
    	mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here
    
    	w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @throws SmbException
     */
        public void mkdirs() throws SmbException {
            SmbFile parent;
    
            try {
                parent = new SmbFile( getParent(), auth );
            } catch( IOException ioe ) {
                return;
            }
            if( parent.exists() == false ) {
                parent.mkdirs();
            }
            mkdir();
        }
    
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                        }
                        parent.mkdirs();
                    }
                }
                catch ( SmbException e ) {
                    if ( log.isDebugEnabled() ) {
                        log.debug("Failed to ensure parent exists " + p, e);
                    }
                    throw e;
                }
                try {
                    mkdir();
                }
                catch ( SmbException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * because workgroups, servers, and shares cannot be dynamically created
         * (although in the future it may be possible to create shares).
         *
         * @throws CIFSException
         */
        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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  5. 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)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Jun 16 23:08:08 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
                file.mkdirs();
                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. cmd/os-readdir_test.go

    	dir := t.TempDir()
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    		t.Fatalf("Unable to create prefix directory \"mydir\", %s", err)
    	}
    	entries := []string{"mydir/"}
    	for i := 0; i < 10; i++ {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, "mydir", name), []byte{}, os.ModePerm); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    class TestFilesCleanupServiceTest {
        @TempDir
        lateinit var projectDir: File
    
        private
        fun File.mkdirsAndWriteText(text: String) {
            parentFile.mkdirs()
            writeText(text)
        }
    
        @BeforeEach
        fun setUp() {
            projectDir.resolve("settings.gradle.kts").writeText(
                """
                include(":failed-test-with-leftover")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

                Thread.sleep(20);
            } catch (InterruptedException e) {
                // ignore
            }
    
            File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis());
    
            dir.mkdirs();
            markForDeletion(dir);
    
            return dir;
        }
    
        public synchronized File createTempFile() throws IOException {
            File tempFile = File.createTempFile(baseFilename, fileSuffix);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
                file.mkdirs();
                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top