- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for filemode (0.16 sec)
-
src/io/fs/fs.go
func (m FileMode) IsDir() bool { return m&ModeDir != 0 } // IsRegular reports whether m describes a regular file. // That is, it tests that no mode type bits are set. func (m FileMode) IsRegular() bool { return m&ModeType == 0 } // Perm returns the Unix permission bits in m (m & [ModePerm]). func (m FileMode) Perm() FileMode { return m & ModePerm }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 15 21:21:41 UTC 2024 - 9.4K bytes - Viewed (0) -
src/os/types.go
type FileInfo = fs.FileInfo // A FileMode represents a file's mode and permission bits. // The bits have the same definition on all systems, so that // information about files can be moved from one system // to another portably. Not all bits apply to all systems. // The only required bit is [ModeDir] for directories. type FileMode = fs.FileMode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet_test.go
} certPath := filepath.Join(certDir, "kubelet.cert") keyPath := filepath.Join(certDir, "kubelet.key") if err := removeThenCreate(certPath, cert, os.FileMode(0644)); err != nil { return "", "", err } if err := removeThenCreate(keyPath, key, os.FileMode(0600)); err != nil { return "", "", err } return certPath, keyPath, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:40 UTC 2024 - 7.4K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-symmetrical-accessors-nullability.txt
Accessors for org.gradle.api.internal.file.copy.CopySpecWrapper.fileMode don't use symmetrical @Nullable Accessors for org.gradle.api.internal.file.copy.DefaultCopySpec.dirMode don't use symmetrical @Nullable Accessors for org.gradle.api.internal.file.copy.DefaultCopySpec.fileMode don't use symmetrical @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:43:33 UTC 2024 - 2.2K bytes - Viewed (0) -
pom.xml
<mapping> <directory>${packaging.fess.var.dir}</directory> <filemode>755</filemode> <username>${packaging.fess.user}</username> <groupname>${packaging.fess.group}</groupname> </mapping> <!-- bin --> <mapping> <directory>${packaging.fess.bin.dir}</directory> <filemode>755</filemode> <sources> <source>
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 30 06:49:02 UTC 2024 - 48.7K bytes - Viewed (1) -
cmd/os_unix.go
return &buf }, } ) // unexpectedFileMode is a sentinel (and bogus) os.FileMode // value used to represent a syscall.DT_UNKNOWN Dirent.Type. const unexpectedFileMode os.FileMode = os.ModeNamedPipe | os.ModeSocket | os.ModeDevice func parseDirEnt(buf []byte) (consumed int, name []byte, typ os.FileMode, err error) { // golang.org/issue/15653 dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0]))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/configfile_test.go
if err := os.WriteFile(correctConfigFile, []byte(schedulerConfigMinimalCorrect), os.FileMode(0600)); err != nil { t.Fatal(err) } decodeErrConfigFile := filepath.Join(tmpDir, "decode_err_no_version_config.yaml") if err := os.WriteFile(decodeErrConfigFile, []byte(schedulerConfigDecodeErr), os.FileMode(0600)); err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 22 13:43:42 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/os-instrumented.go
} // Mkdir captures time taken to call os.Mkdir func Mkdir(dirPath string, mode os.FileMode) (err error) { defer updateOSMetrics(osMetricMkdir, dirPath)(err) return os.Mkdir(dirPath, mode) } // MkdirAll captures time taken to call os.MkdirAll func MkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) { defer updateOSMetrics(osMetricMkdirAll, dirPath)(err)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt
if (dirMode != null) { copySpec.dirPermissions.set(fileSystemOperations.permissions(dirMode)) } if (fileMode != null) { copySpec.filePermissions.set(fileSystemOperations.permissions(fileMode)) } isolate.identities.putInstance(id, copySpec) copySpec } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/options_test.go
leaderElection: leaderElect: true`, configKubeconfig)), os.FileMode(0600)); err != nil { t.Fatal(err) } noVersionConfig := filepath.Join(tmpDir, "scheduler_invalid_no_version.yaml") if err := os.WriteFile(noVersionConfig, []byte(fmt.Sprintf(` kind: KubeSchedulerConfiguration clientConnection: kubeconfig: '%s' leaderElection: leaderElect: true`, configKubeconfig)), os.FileMode(0600)); err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 30.3K bytes - Viewed (0)