Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 163 for indir (0.05 sec)

  1. 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/stdlib_test.go

    		}
    		t.Fatal(err)
    	}
    
    	excluded := make(map[string]bool)
    	for _, filename := range ignore {
    		excluded[filename] = true
    	}
    
    	for _, f := range files {
    		// filter directory contents
    		if f.IsDir() || !strings.HasSuffix(f.Name(), ".go") || excluded[f.Name()] {
    			continue
    		}
    
    		// get per-file instructions
    		expectErrors := false
    		filename := filepath.Join(path, f.Name())
    		goVersion := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    		filenames = []string{filepath.FromSlash("testdata/manual.go")}
    	}
    
    	info, err := os.Stat(filenames[0])
    	if err != nil {
    		t.Fatalf("TestManual: %v", err)
    	}
    
    	DefPredeclaredTestFuncs()
    	if info.IsDir() {
    		if len(filenames) > 1 {
    			t.Fatal("TestManual: must have only one directory argument")
    		}
    		testDir(t, filenames[0], 0, true)
    	} else {
    		testPkg(t, filenames, 0, true)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/os/exec/lp_windows.go

    var ErrNotFound = errors.New("executable file not found in %PATH%")
    
    func chkStat(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    	if d.IsDir() {
    		return fs.ErrPermission
    	}
    	return nil
    }
    
    func hasExt(file string) bool {
    	i := strings.LastIndex(file, ".")
    	if i < 0 {
    		return false
    	}
    	return strings.LastIndexAny(file, `:\/`) < i
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/diff.go

    			if os.IsNotExist(err) {
    				return errors.Wrapf(err, "the manifest file %q does not exist", manifestPath)
    			}
    			return errors.Wrapf(err, "error obtaining stats for manifest file %q", manifestPath)
    		}
    		if s.IsDir() {
    			return errors.Errorf("%q is a directory", manifestPath)
    		}
    	}
    	return nil
    }
    
    // FetchInitConfigurationFunc defines the signature of the function which will fetch InitConfiguration from cluster.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter.go

    		if path != id {
    			fmt.Printf("%s -> %s\n", path, id)
    		}
    	}
    
    	// try extensions
    	for _, ext := range pkgExts {
    		filename = noext + ext
    		f, statErr := os.Stat(filename)
    		if statErr == nil && !f.IsDir() {
    			return filename, id, nil
    		}
    		if err == nil {
    			err = statErr
    		}
    	}
    
    notfound:
    	if err == nil {
    		return "", path, fmt.Errorf("can't find import: %q", path)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		return path, err
    	}
    	if osIsNotExist(err) {
    		// Disk not found create it.
    		if err = mkdirAll(path, 0o777, ""); err != nil {
    			return path, err
    		}
    	}
    	if fi != nil && !fi.IsDir() {
    		return path, errDiskNotDir
    	}
    
    	return path, nil
    }
    
    // Make Erasure backend meta volumes.
    func makeFormatErasureMetaVolumes(disk StorageAPI) error {
    	if disk == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  9. src/cmd/gofmt/gofmt.go

    		parserMode |= parser.SkipObjectResolution
    	}
    }
    
    func isGoFile(f fs.DirEntry) bool {
    	// ignore non-Go files
    	name := f.Name()
    	return !strings.HasPrefix(name, ".") && strings.HasSuffix(name, ".go") && !f.IsDir()
    }
    
    // A sequencer performs concurrent tasks that may write output, but emits that
    // output in a deterministic order.
    type sequencer struct {
    	maxWeight int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. cmd/preferredimports/preferredimports.go

    // ignoring some unneeded directories (hidden/vendored) that are handled
    // specially later.
    func (c *collector) handlePath(path string, info os.FileInfo, err error) error {
    	if err != nil {
    		return err
    	}
    	if info.IsDir() {
    		// Ignore hidden directories (.git, .cache, etc)
    		if len(path) > 1 && path[0] == '.' ||
    			// OS-specific vendor code tends to be imported by OS-specific
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top