Home
last modified time | relevance | path

Searched refs:linkPath (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/parallel/
Dtest-fs-symlink-dir-junction.js33 const linkPath = path.join(tmpdir.path, 'cycles_link'); constant
37 fs.symlink(linkData, linkPath, 'junction', common.mustSucceed(() => {
38 fs.lstat(linkPath, common.mustSucceed((stats) => {
41 fs.readlink(linkPath, common.mustSucceed((destination) => {
44 fs.unlink(linkPath, common.mustSucceed(() => {
45 assert(!fs.existsSync(linkPath));
55 const linkPath = path.join(tmpdir.path, 'invalid_junction_link'); constant
57 fs.symlink(linkData, linkPath, 'junction', common.mustSucceed(() => {
58 assert(!fs.existsSync(linkPath));
60 fs.unlink(linkPath, common.mustSucceed(() => {
[all …]
Dtest-fs-symlink.js40 const linkPath = path.join(tmpdir.path, 'symlink1.js'); constant
42 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
43 fs.lstat(linkPath, common.mustSucceed((stats) => {
47 fs.stat(linkPath, common.mustSucceed((stats) => {
51 fs.readlink(linkPath, common.mustSucceed((destination) => {
59 const linkPath = path.join(tmpdir.path, 'symlink2.js'); constant
61 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
62 assert(!fs.existsSync(linkPath));
Dtest-fs-symlink-dir.js41 for (const linkPath of linkPaths) {
42 testSync(linkTarget, `${linkPath}-${path.basename(linkTarget)}-sync`);
43 testAsync(linkTarget, `${linkPath}-${path.basename(linkTarget)}-async`);
61 for (const linkPath of linkPaths) {
62 testSync(linkTarget, `${linkPath}-${path.basename(linkTarget)}-sync`);
63 testAsync(linkTarget, `${linkPath}-${path.basename(linkTarget)}-async`);
Dtest-fs-symlink-buffer-path.js38 const linkPath = path.join(tmpdir.path, 'symlink1.js'); constant
44 fs.symlinkSync(Buffer.from(linkData), linkPath);
46 fs.lstat(linkPath, common.mustSucceed((stats) => {
50 fs.stat(linkPath, common.mustSucceed((stats) => {
54 fs.readlink(linkPath, common.mustSucceed((destination) => {
Dtest-fs-symlink-dir-junction-relative.js49 function verifyLink(linkPath) { argument
50 const stats = fs.lstatSync(linkPath);
53 const data1 = fs.readFileSync(`${linkPath}/x.txt`, 'ascii');
58 fs.unlinkSync(linkPath);
Dtest-fs-realpath.js535 const linkPath = `${root}/a/link/c/x.txt`;
537 const actual = realpathSync(linkPath);
540 asynctest(realpath, [linkPath], cb, function(er, actual) {
/third_party/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp793 _link.linkPath.SetFromBstr(prop.bstrVal); in ReadLink()
823 _link.linkPath.SetFromBstr(prop.bstrVal); in ReadLink()
832 if (_link.linkPath.IsEmpty() && _arc->GetRawProps) in ReadLink()
858 _link.linkPath = reparse.GetPath(); in ReadLink()
873 _link.linkPath.Replace(L'\\', WCHAR_PATH_SEPARATOR); in ReadLink()
880 if (_link.linkPath.IsEmpty()) in ReadLink()
885 _link.linkPath.Replace(L'/', WCHAR_PATH_SEPARATOR); in ReadLink()
889 if (_link.linkPath.IsPrefixedBy(WSTRING_PATH_SEPARATOR L"??" WSTRING_PATH_SEPARATOR)) in ReadLink()
892 _link.linkPath.DeleteFrontal(4); in ReadLink()
898 unsigned n = NName::GetRootPrefixSize(_link.linkPath); in ReadLink()
[all …]
DArchiveExtractCallback.h200 UString linkPath;
219 linkPath.Empty();
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
Dldso_dlopen_test.cpp401 std::string linkPath = dirStr + "/" + "libctest_dlopen_common_link" + ".so"; variable
402 EXPECT_TRUE(!symlink(dlInfo.dli_fname, linkPath.c_str()));
410 EXPECT_TRUE(!unlink(linkPath.c_str()));
/third_party/node/lib/internal/fs/
Dutils.js391 function preprocessSymlinkDestination(path, type, linkPath) { argument
400 path = pathModule.resolve(linkPath, '..', path);