- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for realpath (0.04 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 Sep 07 19:28:11 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 Sep 09 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 Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Jun 23 23:03:02 UTC 2025 - 6.8K 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 Sep 05 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K 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 16
Registered: Tue Sep 09 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
// Edge-like Windows UNC-style: a single backslash in the path String reqPath = "\\"; String resolved = "smb://server/share/path"; when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved); String out = locator.handleDFSReferral(referral, reqPath); assertEquals(resolved, out); // Verify exact argument interaction
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
when(mockReferral.getNode()).thenReturn("\\server\\share\\path"); String reqPath = "\\\\server\\share\\path"; // Use valid consumed value within string bounds (reqPath.length() = 19) int consumed = Math.min(19, reqPath.length()); data1 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
log.debug("Server " + dr.server + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed " + consumed); } dr.pathConsumed = consumed; } else { if (log.isDebugEnabled()) { log.debug("Node " + ref.getNode() + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed "
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0)