Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for is_dir (0.07 sec)

  1. internal/store/queuestore.go

    	if err := os.MkdirAll(store.directory, os.FileMode(0o770)); err != nil {
    		return err
    	}
    
    	files, err := store.list()
    	if err != nil {
    		return err
    	}
    
    	for _, file := range files {
    		if file.IsDir() {
    			continue
    		}
    		if fi, err := file.Info(); err == nil {
    			store.entries[file.Name()] = fi.ModTime().UnixNano()
    		}
    	}
    
    	return nil
    }
    
    // Delete - Remove the store directory from disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
                    map.put("size", item.size());
                    map.put("directory", item.isDir());
                    if (!item.isDir()) {
                        map.put("lastModified", item.lastModified());
                        fileList.add(map);
                    } else {
                        list.add(map);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/handler-utils_test.go

    // Tests validate bucket LocationConstraint.
    func TestIsValidLocationConstraint(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	// Corrupted XML
    	malformedReq := &http.Request{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    			}
    			r = os.Stdin
    			readers = append(readers, local.ReaderSource{Name: f, Reader: r})
    			continue
    		}
    
    		fi, err := os.Stat(f)
    		if err != nil {
    			return nil, err
    		}
    
    		if fi.IsDir() {
    			dirReaders, err := gatherFilesInDirectory(cmd, f)
    			if err != nil {
    				return nil, err
    			}
    			readers = append(readers, dirReaders...)
    		} else {
    			if !isValidFile(f) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. docs/tr/docs/async.md

    ### Eşzamanlılık paralellikten daha mı iyi?
    
    Hayır!  Hikayenin ahlakı bu değil.
    
    Eşzamanlılık paralellikten farklıdır. Ve çok fazla bekleme içeren **belirli** senaryolarda daha iyidir. Bu nedenle, genellikle web uygulamaları için paralellikten çok daha iyidir. Ama her şey için değil.
    
    Yanı, bunu aklınızda oturtmak için aşağıdaki kısa hikayeyi hayal edin:
    
    > Büyük, kirli bir evi temizlemelisin.
    
    *Evet, tüm hikaye bu*.
    
    ---
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	mode    os.FileMode
    	modTime time.Time
    	isDir   bool
    	sys     interface{}
    }
    
    func (f dummyFileInfo) Name() string       { return f.name }
    func (f dummyFileInfo) Size() int64        { return f.size }
    func (f dummyFileInfo) Mode() os.FileMode  { return f.mode }
    func (f dummyFileInfo) ModTime() time.Time { return f.modTime }
    func (f dummyFileInfo) IsDir() bool        { return f.isDir }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  7. src/cmd/api/api_test.go

    	testenv.MustHaveGoBuild(t)
    
    	td, err := os.Open("testdata/src/pkg")
    	if err != nil {
    		t.Fatal(err)
    	}
    	fis, err := td.Readdir(0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, fi := range fis {
    		if !fi.IsDir() {
    			continue
    		}
    
    		// TODO(gri) remove extra pkg directory eventually
    		goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt")
    		w := NewWalker(nil, "testdata/src/pkg")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/en-ie/stopwords.txt

    d'
    daichead
    dar
    de
    deich
    deichniúr
    den
    dhá
    do
    don
    dtí
    dá
    dár
    dó
    faoi
    faoin
    faoina
    faoinár
    fara
    fiche
    gach
    gan
    go
    gur
    haon
    hocht
    i
    iad
    idir
    in
    ina
    ins
    inár
    is
    le
    leis
    lena
    lenár
    m'
    mar
    mo
    mé
    na
    nach
    naoi
    naonúr
    ná
    ní
    níor
    nó
    nócha
    ocht
    ochtar
    os
    roimh
    sa
    seacht
    seachtar
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 685 bytes
    - Viewed (0)
  9. cmd/global-heal.go

    		healEntry := func(bucket string, entry metaCacheEntry) {
    			defer jt.Give()
    
    			if entry.name == "" && len(entry.metadata) == 0 {
    				// ignore entries that don't have metadata.
    				return
    			}
    			if entry.isDir() {
    				// ignore healing entry.name's with `/` suffix.
    				return
    			}
    
    			// We might land at .metacache, .trash, .multipart
    			// no need to heal them skip, only when bucket
    			// is '.minio.sys'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. misc/ios/go_ios_exec.go

    	}
    
    	d, err := os.Open(src)
    	if err != nil {
    		return err
    	}
    	defer d.Close()
    	fi, err := d.Readdir(-1)
    	if err != nil {
    		return err
    	}
    
    	for _, f := range fi {
    		if f.IsDir() {
    			if f.Name() == "testdata" {
    				if err := cp(dst, filepath.Join(src, f.Name())); err != nil {
    					return err
    				}
    			}
    			continue
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top