- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 560 for fullpath (0.12 sec)
-
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
} filesToClean := []string{ filepath.Join(configPathDir, kubeadmconstants.AdminKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.SuperAdminKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.KubeletKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.KubeletBootstrapKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.ControllerManagerKubeConfigFileName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go
match := dateRE.FindStringSubmatch(fname) if match == nil || len(match) < 2 { u.logger.Printf("malformed report name: missing date: %q", filepath.Base(fname)) return time.Time{} } d, err := time.Parse(dateFormat, match[1]) if err != nil { u.logger.Printf("malformed report name: bad date: %q", filepath.Base(fname)) return time.Time{} } return d } func (u *uploader) uploadReport(fname string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 3.4K bytes - Viewed (0) -
docs_src/generate_clients/tutorial004.js
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 14 11:40:05 UTC 2024 - 1K bytes - Viewed (0) -
src/os/path_test.go
} perr, ok := err.(*PathError) if !ok { t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err) } if filepath.Clean(perr.Path) != filepath.Clean(fpath) { t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath)) } // Can't make subdirectory of file. ffpath := fpath + "/subdir" err = MkdirAll(ffpath, 0777) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 3K bytes - Viewed (0) -
cmd/bitrot-whole.go
// Returns whole-file bitrot writer. func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser { return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()} } // Implementation to verify bitrot for the whole file. type wholeBitrotReader struct { disk StorageAPI volume string filePath string verifier *BitrotVerifier // Holds the bit-rot info
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/util/filesystem/util_unix.go
limitations under the License. */ package filesystem import ( "fmt" "os" "path/filepath" ) // IsUnixDomainSocket returns whether a given file is a AF_UNIX socket file func IsUnixDomainSocket(filePath string) (bool, error) { fi, err := os.Stat(filePath) if err != nil { return false, fmt.Errorf("stat file %s failed: %v", filePath, err) } if fi.Mode()&os.ModeSocket == 0 { return false, nil } return true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 1.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_linux.go
saPublicKeyFile := filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPublicKeyName) if err := updatePathOwnerAndPermissions(saPublicKeyFile, *runAsUser, *runAsGroup, 0600); err != nil { return err } saPrivateKeyFile := filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPrivateKeyName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 14:41:12 UTC 2023 - 8.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_linux_test.go
wantUpdateFiles := map[string]ownerAndPermissions{ filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPublicKeyName): {uid: runAsUser, gid: runAsGroup, permissions: 0600}, filepath.Join(cfg.CertificatesDir, kubeadmconstants.ServiceAccountPrivateKeyName): {uid: 0, gid: supGroup, permissions: 0640},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 14:41:12 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/str/path.go
// filesystem is not, does not apply Unicode normalization even if the // filesystem does, and assumes that all path separators are canonicalized to // filepath.Separator (as returned by filepath.Clean). func HasFilePathPrefix(s, prefix string) bool { sv := filepath.VolumeName(s) pv := filepath.VolumeName(prefix) // Strip the volume from both paths before canonicalizing sv and pv:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
src/os/file_open_wasip1.go
"internal/poll" "syscall" ) func open(filePath string, flag int, perm uint32) (int, poll.SysFile, error) { if filePath == "" { return -1, poll.SysFile{}, syscall.EINVAL } absPath := filePath // os.(*File).Chdir is emulated by setting the working directory to the // absolute path that this file was opened at, which is why we have to // resolve and capture it here. if filePath[0] != '/' { wd, err := syscall.Getwd()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 818 bytes - Viewed (0)