- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 152 for symlink2 (0.23 sec)
-
src/cmd/go/internal/base/env.go
// // The resulting environment makes os.Getwd more efficient for a subprocess // running in dir, and also improves the accuracy of paths relative to dir // if one or more elements of dir is a symlink. func AppendPWD(base []string, dir string) []string { // POSIX requires PWD to be absolute. // Internally we only use absolute paths, so dir should already be absolute. if !filepath.IsAbs(dir) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 25 16:40:59 UTC 2022 - 1.3K bytes - Viewed (0) -
src/crypto/x509/root_unix_test.go
if f, err := os.Create(temp("file")); err != nil { t.Fatal(err) } else { f.Close() } if err := os.Symlink("target-in", temp("link-in")); err != nil { t.Fatal(err) } if err := os.Symlink("../target-out", temp("link-out")); err != nil { t.Fatal(err) } got, err := readUniqueDirectoryEntries(tmp) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/volume/util/volumepathhandler/volume_path_handler_unsupported.go
return "", fmt.Errorf("GetLoopDevice not supported for this build.") } // FindGlobalMapPathUUIDFromPod finds {pod uuid} bind mount under globalMapPath // corresponding to map path symlink, and then return global map path with pod uuid. func (v VolumePathHandler) FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.7K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh
# Usage: setup_venv_test.sh venv_and_symlink_name "glob pattern for one wheel file" # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl" # # This will create a venv with that wheel file installed in it, and a symlink # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the # "pip" tests. python -m venv /$1 mkdir -p $1 rm -f ./$1/tensorflow ln -s $(ls /$1/lib) /$1/lib/python3
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 1.4K bytes - Viewed (0) -
hack/update-go-workspace.sh
# This script generates go.work so that it includes all Go packages # in this repo, with a few exceptions. set -o errexit set -o nounset set -o pipefail # Go tools really don't like it if you have a symlink in `pwd`. cd "$(pwd -P)" KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" # This sets up the environment, like GOCACHE, which keeps the worktree cleaner. kube::golang::setup_env
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 10 15:44:10 UTC 2024 - 1.3K bytes - Viewed (0) -
build/build-image/rsyncd.sh
USER_CONFIG= if [[ "$(id -u)" == "0" ]]; then USER_CONFIG=" uid = 0"$'\n'" gid = 0" fi cat <<EOF >"${CONFFILE}" pid file = ${PIDFILE} use chroot = no log file = /dev/stdout reverse lookup = no munge symlinks = no port = 8730 [k8s] numeric ids = true $USER_CONFIG hosts deny = * hosts allow = ${ALLOW} ${ALLOW_HOST-} auth users = k8s secrets file = ${SECRETS} read only = false path = ${VOLUME}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 04 15:58:52 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile_filelock.go
if err := f.Truncate(0); err != nil { // The documentation for os.O_TRUNC says “if possible, truncate file when // opened”, but doesn't define “possible” (golang.org/issue/28699). // We'll treat regular files (and symlinks to regular files) as “possible” // and ignore errors for the rest. if fi, statErr := f.Stat(); statErr != nil || fi.Mode().IsRegular() { filelock.Unlock(f) f.Close() return nil, err } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/overlaydir_test.go
if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If we can use a hard link, do that instead of copying bytes. // Go builds don't like symlinks in some cases, such as go:embed. if err := os.Link(srcPath, dstPath); err == nil { return nil } // Otherwise, copy the bytes. src, err := os.Open(srcPath) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
cluster/gce/windows/README-GCE-Windows-kube-up.md
k8s repository. If your `~/go/src/k8s.io/kubernetes` directory is actually a symlink to `~/go/src/github.com/<username>/kubernetes`, create this additional symlink: ```bash cd ~/go/src/github.com; ln -s . github.com ``` Without this additional symlink you may receive this error when invoking the `run-e2e.sh` script: ```bash
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 21:39:56 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/AbstractSymlinkDeleterTest.groovy
then: !link.exists() keepTxt.assertDoesNotExist() didWork cleanup: link.delete() } def "does not follow symlink to a file when followSymlinks is #followSymlinks"() { Assume.assumeTrue(canCreateSymbolicLinkToFile()) given: def originalFile = tmpDir.createFile("originalFile", "keep.txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.5K bytes - Viewed (0)