- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MakeDir (0.09 sec)
-
pkg/volume/util/hostutil/hostutil_unsupported.go
} // MakeFile always returns an error on unsupported platforms func (hu *HostUtil) MakeFile(pathname string) error { return errUnsupported } // MakeDir always returns an error on unsupported platforms func (hu *HostUtil) MakeDir(pathname string) error { return errUnsupported } // PathExists always returns an error on unsupported platforms func (hu *HostUtil) PathExists(pathname string) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 10:17:38 UTC 2022 - 3.3K bytes - Viewed (0) -
pkg/volume/hostpath/host_path.go
} pathType, err := ftc.hu.GetFileType(ftc.path) if err != nil { return false } return string(pathType) == string(v1.HostPathDirectory) } func (ftc *fileTypeChecker) MakeDir() error { return makeDir(ftc.path) } func (ftc *fileTypeChecker) IsBlock() bool { blkDevType, err := ftc.hu.GetFileType(ftc.path) if err != nil { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 15.3K bytes - Viewed (0) -
cmd/ftp-server-driver.go
stopFn := globalFtpMetrics.log(ctx, fromObjPath, toObjPath) defer stopFn(0, err) return NotImplemented{} } // MakeDir implements ftpDriver func (driver *ftpDriver) MakeDir(ctx *ftp.Context, objPath string) (err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(0, err) bucket, prefix := path2BucketObject(objPath) if bucket == "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 14K bytes - Viewed (0) -
pkg/volume/hostpath/host_path_test.go
isChar bool validpathType []*v1.HostPathType invalidpathType []*v1.HostPathType } func (ftc *fakeHostPathTypeChecker) MakeFile() error { return nil } func (ftc *fakeHostPathTypeChecker) MakeDir() error { return nil } func (ftc *fakeHostPathTypeChecker) Exists() bool { return ftc.exists } func (ftc *fakeHostPathTypeChecker) IsFile() bool { return ftc.isFile }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 20.5K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
return fs.FormatFileInfo(f) } // fakeDir provides an fs.FileInfo implementation for directories that are // implicitly created by overlaid files. Each directory in the // path of an overlaid file is considered to exist in the overlay filesystem. type fakeDir string func (f fakeDir) Name() string { return string(f) } func (f fakeDir) Size() int64 { return 0 } func (f fakeDir) Mode() fs.FileMode { return fs.ModeDir | 0500 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0)