Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 465 for DIRECTORY (0.07 sec)

  1. cmd/xl-storage_test.go

    }
    
    func TestXLStorageIsDirEmpty(t *testing.T) {
    	tmp := t.TempDir()
    
    	// Should give false on non-existent directory.
    	dir1 := slashpath.Join(tmp, "non-existent-directory")
    	if isDirEmpty(dir1, true) {
    		t.Error("expected false for non-existent directory, got true")
    	}
    
    	// Should give false for not-a-directory.
    	dir2 := slashpath.Join(tmp, "file")
    	err := os.WriteFile(dir2, []byte("hello"), 0o777)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

    public interface SourceRoot {
        /**
         * {@return the root directory where the sources are stored}.
         * The path is relative to the <abbr>POM</abbr> file.
         *
         * <h4>Default implementation</h4>
         * The default value depends on whether a {@linkplain #module() module name} is specified in this source root:
         * <ul>
         *   <li>
         *     If no module name, then the default directory is
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. docs/en/docs/virtual-environments.md

    First, create a directory for your project.
    
    What I normally do is that I create a directory named `code` inside my home/user directory.
    
    And inside of that I create one directory per project.
    
    <div class="termy">
    
    ```console
    // Go to the home directory
    $ cd
    // Create a directory for all your code projects
    $ mkdir code
    // Enter into that code directory
    $ cd code
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      )
    
      /** Create a cache of at most [maxSize] bytes in [directory]. */
      constructor(directory: File, maxSize: Long) : this(
        FileSystem.SYSTEM,
        directory.toOkioPath(),
        maxSize,
      )
    
      internal val cache =
        DiskLruCache(
          fileSystem = fileSystem,
          directory = directory,
          appVersion = VERSION,
          valueCount = ENTRY_COUNT,
          maxSize = maxSize,
          taskRunner = taskRunner,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            dst[dstIndex++] = (byte) (this.directory ? 1 : 0);
            return dstIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbQueryInfoStandard[" + "allocationSize=" + this.allocationSize + ",endOfFile=" + this.endOfFile + ",numberOfLinks="
                    + this.numberOfLinks + ",deletePending=" + this.deletePending + ",directory=" + this.directory + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            if (results == null) {
                return new FileEntry[0];
            }
            return results;
        }
    
        /**
         * Opens a directory for enumeration
         *
         * @return the opened directory file entry
         * @throws CIFSException if an error occurs opening the directory
         */
        @SuppressWarnings("resource")
        @Override
        protected FileEntry open() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            buffer[offset++] = (byte) 1; // directory = true
    
            // Decode
            int bytesDecoded = fileStandardInfo.decode(buffer, bufferIndex, 22);
    
            // Verify
            assertEquals(22, bytesDecoded);
            assertEquals(expectedEndOfFile, fileStandardInfo.getSize());
        }
    
        @Test
        @DisplayName("Test decode with delete pending false and directory false")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * The path matcher returned by this method expects directory paths.
         * If that matcher returns {@code false}, then the directory will definitively not contain
         * the paths selected by the matcher given in argument to this method.
         * In such case, the whole directory and all its sub-directories can be skipped.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. cmd/config-dir.go

    	// Points to current configuration directory -- deprecated, to be removed in future.
    	globalConfigDir = defaultConfigDir
    	// Points to current certs directory set by user with --certs-dir
    	globalCertsDir = defaultCertsDir
    	// Points to relative path to certs directory and is <value-of-certs-dir>/CAs
    	globalCertsCADir = defaultCertsCADir
    )
    
    // Get - returns current directory.
    func (dir *ConfigDir) Get() string {
    	return dir.path
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. cmd/os-readdir-common.go

    type readDirOpts struct {
    	// The maximum number of entries to return
    	count int
    	// Follow directory symlink
    	followDirSymlink bool
    }
    
    // Return all the entries at the directory dirPath.
    func readDir(dirPath string) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: -1})
    }
    
    // Return up to count entries at the directory dirPath.
    func readDirN(dirPath string, count int) (entries []string, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 09 23:20:51 UTC 2021
    - 1.3K bytes
    - Viewed (0)
Back to top