- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for relPath (0.15 sec)
-
maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
return getFile(); } @Override public ModelSource3 getRelatedSource(ModelLocator locator, String relPath) { relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(relPath); Path relatedPom = locator.locateExistingPom(path); if (relatedPom != null) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
@Override public String getLocation() { return source.getLocation(); } @Override public ModelSource2 getRelatedSource(String relPath) { Source rel = source.resolve(relPath); return rel != null ? new SourceWrapper(rel) : null; } @Override public URI getLocationURI() { Path path = source.getPath();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 8K bytes - Viewed (0) -
cmd/importverifier/importverifier.go
} absPath, err := filepath.Abs(path) if err != nil { return false, err } relPath, err := filepath.Rel(absBase, absPath) if err != nil { return false, err } // if path is below base, the relative path // from base to path will not start with `../` return !strings.HasPrefix(relPath, ".."), nil } // forbiddenImportsFor determines all of the forbidden
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:16 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
// encoded representation. It returns ErrNotIndexed if the package can't // be indexed. func indexPackage(modroot, pkgdir string) []byte { fsys.Trace("indexPackage", pkgdir) p := importRaw(modroot, relPath(pkgdir, modroot)) return encodePackageBytes(p) } // rawPackage holds the information from each package that's needed to // fill a build.Package once the context is available. type rawPackage struct { error string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/dryrun/dryrun.go
type FileToPrint struct { RealPath string PrintPath string } // NewFileToPrint makes a new instance of FileToPrint with the specified arguments func NewFileToPrint(realPath, printPath string) FileToPrint { return FileToPrint{ RealPath: realPath, PrintPath: printPath, } } // PrintDryRunFile is a helper method around PrintDryRunFiles
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/http-tracer.go
} if host, port, err := net.SplitHostPort(nodeName); err == nil { if port == "443" || port == "80" { nodeName = host } } // Calculate reqPath reqPath := r.URL.RawPath if reqPath == "" { reqPath = r.URL.Path } // Calculate function name funcName := tc.FuncName if funcName == "" { funcName = "<unknown>" } t := madmin.TraceInfo{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 6K bytes - Viewed (0) -
hack/lib/init.sh
fi fi ) } # This emulates "realpath" which is not available on MacOS X # Test: # T=/tmp/$$.$RANDOM # mkdir $T # touch $T/file # mkdir $T/dir # ln -s $T/file $T/linkfile # ln -s $T/dir $T/linkdir # function testone() { # X=$(realpath $1 2>&1) # Y=$(kube::realpath $1 2>&1) # if [ "$X" != "$Y" ]; then # echo realpath $1: expected "$X", got "$Y" # fi # } # testone /
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:18:38 UTC 2024 - 6.2K bytes - Viewed (0) -
ci/official/utilities/setup.sh
# above the location of this file (setup.sh). We could also use "git rev-parse # --show-toplevel", but that wouldn't work for non-git repos (like if someone # downloaded TF as a zip archive). export TFCI_GIT_DIR=$(cd $(dirname "$0"); realpath ../../) cd "$TFCI_GIT_DIR" # "TFCI" may optionally be set to the name of an env-type file with TFCI # variables in it, OR may be left empty if the user has already exported the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 26 00:33:34 UTC 2024 - 5.2K bytes - Viewed (0) -
hack/verify-openapi-docs-urls.sh
set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" SPECROOT="${KUBE_ROOT}/api/openapi-spec" SPECV3PATH="${SPECROOT}/v3" _tmpdir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")" mkdir -p "${_tmpdir}" trap 'rm -rf ${_tmpdir}' EXIT SIGINT trap "echo Aborted; exit;" SIGINT SIGTERM TMP_URLS="${_tmpdir}/docs_urls.txt" touch "${TMP_URLS}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 05:44:44 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
err := filepath.Walk("/dev/disk/by-uuid/", func(path string, info os.FileInfo, err error) error { if err != nil { return err } realPath, err := filepath.EvalSymlinks(path) if err != nil { return err } result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/") return nil }) if err != nil { return nil, err } return result, nil } type localDisk struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)