Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for pathnames (0.18 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	}
    	slices.Sort(filenames)
    	mcDir, err := minorChangesDir(docFS)
    	if err != nil {
    		return err
    	}
    	var errs []error
    	for _, fn := range filenames {
    		// Use path.Join for consistency with io/fs pathnames.
    		fn = path.Join(mcDir, fn)
    		// TODO(jba): check that the file mentions each feature?
    		if err := checkFragmentFile(docFS, fn); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/volume/util/atomic_writer.go

    	maxPathLength     = 4096
    )
    
    // AtomicWriter handles atomically projecting content for a set of files into
    // a target directory.
    //
    // Note:
    //
    //  1. AtomicWriter reserves the set of pathnames starting with `..`.
    //  2. AtomicWriter offers no concurrency guarantees and must be synchronized
    //     by the caller.
    //
    // The visible files in this volume are symlinks to files in the writer's data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/cover/cover.go

    	// The convention for cmd/cover is that if the go command that
    	// kicks off coverage specifies a local import path (e.g. "go test
    	// -cover ./thispackage"), the tool will capture full pathnames
    	// for source files instead of relative paths, which tend to work
    	// more smoothly for "go tool cover -html". See also issue #56433
    	// for more details.
    	if pkgconfig.Local {
    		filename = f.name
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

    class GTEST_API_ FilePath {
     public:
      FilePath() : pathname_("") { }
      FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
    
      explicit FilePath(const std::string& pathname) : pathname_(pathname) {
        Normalize();
      }
    
      FilePath& operator=(const FilePath& rhs) {
        Set(rhs);
        return *this;
      }
    
      void Set(const FilePath& rhs) {
        pathname_ = rhs.pathname_;
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. pkg/volume/util/hostutil/hostutil_windows.go

    		if isSocket, errSocket := filesystem.IsUnixDomainSocket(pathname); errSocket == nil && isSocket {
    			return FileTypeSocket, nil
    		}
    	}
    
    	return filetype, err
    }
    
    // PathExists checks whether the path exists
    func (hu *HostUtil) PathExists(pathname string) (bool, error) {
    	return utilpath.Exists(utilpath.CheckFollowSymlink, pathname)
    }
    
    // EvalHostSymlinks returns the path name after evaluating symlinks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. pkg/volume/util/hostutil/hostutil.go

    	GetOwner(pathname string) (int64, int64, error)
    	// GetSELinuxSupport returns true if given path is on a mount that supports
    	// SELinux.
    	GetSELinuxSupport(pathname string) (bool, error)
    	// GetMode returns permissions of the path.
    	GetMode(pathname string) (os.FileMode, error)
    	// GetSELinuxMountContext returns value of -o context=XYZ mount option on
    	// given mount point.
    	GetSELinuxMountContext(pathname string) (string, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. hack/verify-flags-underscore.py

                dirs.remove('third_party')
            if '.git' in dirs:
                dirs.remove('.git')
    
            for name in files:
                pathname = os.path.join(root, name)
                if not is_binary(pathname):
                    all_files.append(pathname)
        return all_files
    
    # Collects all the flags used in golang files and verifies the flags do
    # not contain underscore. If any flag needs to be excluded from this check,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. hack/boilerplate/boilerplate.py

    ]
    
    
    def normalize_files(files):
        newfiles = []
        for pathname in files:
            if any(x in pathname for x in skipped_names):
                continue
            newfiles.append(pathname)
        for i, pathname in enumerate(newfiles):
            if not os.path.isabs(pathname):
                newfiles[i] = os.path.join(args.rootdir, pathname)
        return newfiles
    
    
    def get_files(extensions):
        files = []
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/GradleInstallation.java

    import java.util.List;
    
    public class GradleInstallation {
    
        public static final FileFilter DIRECTORY_FILTER = new FileFilter() {
            @Override
            public boolean accept(File pathname) {
                return pathname.isDirectory();
            }
        };
    
        private final File dir;
        private final List<File> libDirs;
    
        public GradleInstallation(File dir) {
            this.dir = dir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. pkg/volume/hostpath/host_path.go

    	}
    
    	return nil
    }
    
    // makeDir creates a new directory.
    // If pathname already exists as a directory, no error is returned.
    // If pathname already exists as a file, an error is returned.
    func makeDir(pathname string) error {
    	err := os.MkdirAll(pathname, os.FileMode(0755))
    	if err != nil {
    		if !os.IsExist(err) {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top