Add is_sock(), is_fifo(), is_block_device(), is_char_device()
This commit is contained in:
parent
36f5f1f633
commit
cf1a377f65
|
@ -584,6 +584,14 @@ Higher-level methods help examine the kind of the file::
|
|||
False
|
||||
>>> p.is_symlink()
|
||||
False
|
||||
>>> p.is_sock()
|
||||
False
|
||||
>>> p.is_fifo()
|
||||
False
|
||||
>>> p.is_block_device()
|
||||
False
|
||||
>>> p.is_char_device()
|
||||
False
|
||||
|
||||
The file owner and group names (rather than numeric ids) are queried
|
||||
through matching properties::
|
||||
|
|
Loading…
Reference in New Issue