Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for subfolder (0.09 sec)

  1. src/archive/zip/writer_test.go

    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the tar.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    	fsys := fstest.MapFS{
    		"emptyfolder":          {Mode: 0o755 | os.ModeDir},
    		"file.go":              {Data: []byte("hello")},
    		"subfolder/another.go": {Data: []byte("world")},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    	if err := tw.AddFS(fsys); err != nil {
    		t.Fatal(err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    	dataScannerCompactAtFolders      = dataScannerCompactAtChildren / 4 // Compact when this many subfolders in a single folder.
    	dataScannerForceCompactAtFolders = 250_000                          // Compact when this many subfolders in a single folder (even top level).
    	dataScannerStartDelay            = 1 * time.Minute                  // Time to wait on startup and between cycles.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top