mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-17 22:01:07 -07:00
win_stat: Add stat.isreg support (#27732)
* win_stat: Add stat.isreg support This PR includes the following changes: - Adds stat.isreg support (cfr. the stat module) - Always returns stat.isdir, stat.islnk, stat.isreg, stat.isshared * Remove the controversial part
This commit is contained in:
parent
477ed3cc96
commit
60276b60a2
2 changed files with 11 additions and 6 deletions
|
@ -173,6 +173,11 @@ stat:
|
|||
returned: success, path exists
|
||||
type: boolean
|
||||
sample: True
|
||||
isreg:
|
||||
description: if the path is a regular file
|
||||
returned: success, path exists
|
||||
type: boolean
|
||||
sample: True
|
||||
isshared:
|
||||
description: if the path is shared or not
|
||||
returned: success, path exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue