Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:is_symlink
(Results
1 - 8
of
8
) sorted by relevance
/third_party/python/Lib/
H
A
D
shutil.py
224
return fn.
is_symlink
() if isinstance(fn, os.DirEntry) else os.path.islink(fn)
470
is_symlink
= srcentry.
is_symlink
()
471
if
is_symlink
and os.name == 'nt':
476
is_symlink
= False
477
if
is_symlink
:
609
if entry.
is_symlink
():
H
A
D
os.py
395
is_symlink
= entry.
is_symlink
()
397
# If
is_symlink
() raises an OSError, consider that the
400
is_symlink
= False
401
walk_into = not
is_symlink
415
# entry.
is_symlink
() result during the loop on os.scandir() because
502
if entry.
is_symlink
():
H
A
D
pathlib.py
1298
def
is_symlink
(self):
member in Path
/third_party/rust/crates/which-rs/src/
H
A
D
checker.rs
45
file_type.is_file() || file_type.
is_symlink
()
in is_valid()
/third_party/python/Lib/test/
H
A
D
test_pathlib.py
2344
self.assertFalse((P / 'fileA').
is_symlink
())
2345
self.assertFalse((P / 'dirA').
is_symlink
())
2346
self.assertFalse((P / 'non-existing').
is_symlink
())
2347
self.assertFalse((P / 'fileA' / 'bah').
is_symlink
())
2349
self.assertTrue((P / 'linkA').
is_symlink
())
2350
self.assertTrue((P / 'linkB').
is_symlink
())
2351
self.assertTrue((P/ 'brokenLink').
is_symlink
())
2706
f.
is_symlink
()
H
A
D
test_os.py
4193
def check_entry(self, entry, name, is_dir, is_file,
is_symlink
):
4205
self.assertEqual(entry.
is_symlink
(),
4216
os.name == 'nt' and not
is_symlink
)
4316
self.assertFalse(entry.
is_symlink
())
4335
self.assertFalse(entry.
is_symlink
())
4362
self.assertTrue(entry.
is_symlink
())
4414
self.assertEqual(entry.
is_symlink
(), entry.name == 'link')
H
A
D
test_tarfile.py
3083
if not path.
is_symlink
():
/third_party/python/Modules/
H
A
D
posixmodule.c
13644
os.DirEntry.
is_symlink
-> bool
13794
int
is_symlink
;
in DirEntry_test_mode()
local
13802
is_symlink
= (self->win32_lstat.st_mode & S_IFMT) == S_IFLNK;
in DirEntry_test_mode()
13803
need_stat = follow_symlinks &&
is_symlink
;
in DirEntry_test_mode()
13805
is_symlink
= self->d_type == DT_LNK;
in DirEntry_test_mode()
13806
need_stat = self->d_type == DT_UNKNOWN || (follow_symlinks &&
is_symlink
);
in DirEntry_test_mode()
13835
else if (
is_symlink
) {
in DirEntry_test_mode()
Completed in 42 milliseconds