- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for realpath (1.03 sec)
-
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K 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: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 6.2K bytes - Viewed (0) -
ci/official/utilities/setup_macos.sh
# # Mac version of Core utilities differ in usage. Since our scripts are written # with the GNU style, we need to set GNU utilities to be default on Mac. if [[ -n "$(which grealpath)" ]] && [[ -n "$(which gstat)" ]]; then alias realpath=grealpath alias stat=gstat # By default, aliases are only expanded in interactive shells, which means # that they are not substituted for their corresponding commands in shell
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Oct 06 22:42:26 UTC 2025 - 6.8K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
dependencies: graceful-fs "^4.2.0" jsonfile "^4.0.0" universalify "^0.1.0" fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@~2.3.2:Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
} public void testExtensiveWithAbsolutePrefix() throws IOException { // Inputs are /b/c/<every possible 10-character string of characters "a./"> // Expected outputs are from realpath -s. doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt"); } public void testExtensiveNoPrefix() throws IOException { /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* @return true if the page exists, false otherwise */ private boolean existsPage(final String path) { final String realPath = LaServletContextUtil.getServletContext().getRealPath(path); final File file = new File(realPath); return file.isFile(); } /** * Creates cached content with highlighting for a document.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
configure.py
'Assuming to be a scripting mistake.' % (var_name, n_ask_attempts)) if resolve_symlinks: val = os.path.realpath(val) environ_cp[var_name] = val return val def set_clang_cuda_compiler_path(environ_cp): """Set CLANG_CUDA_COMPILER_PATH.""" # Upon clang 19 drop the check for 16Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Wed Apr 30 15:18:54 UTC 2025 - 48.3K 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 Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
public File getPomFile() { return getFile(); } @Override public ModelSource2 getRelatedSource(String relPath) { relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path relatedPom = getPath().getParent().resolve(relPath); if (Files.isDirectory(relatedPom)) { // TODO figure out how to reuse ModelLocator.locatePom(File) here
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Apr 14 13:42:17 UTC 2025 - 2.8K bytes - Viewed (0) -
impl/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: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Sep 13 09:44:11 UTC 2025 - 8.8K bytes - Viewed (0)