Brian Maddy
3b0bc3e79e
typo in stat.executable (was stat.excutable) ( #4886 )
...
I didn't actually run this because it's so simple, but it seems correct.
8 years ago
Toshio Kuratomi
42c74a0ce2
Python3 fixes to copy, file, and stat so that the connection integration tests can be run ( #4632 )
...
* Python3 fixes to copy, file, and stat so that the connection integration tests can be run
* Forgot to audit the helper functions as well.
* Fix dest to refledt b_dest (found by @mattclay)
8 years ago
James Pharaoh
5bce0049a1
fix error in documentation for stat checksum ( #4582 )
8 years ago
Toshio Kuratomi
90673cf6db
Refactor stat.py so that it would be more friendly for unittests. ( #4462 )
...
* Refactor stat.py so that it would be more friendly for unittests.
* PEP8ify since we're moving most of the lines in the file and there's no open PRs
8 years ago
tobixx
3139b90f7e
added read-/write-/executeable flags for invoking user ( #4130 )
8 years ago
Michael Scherer
69ea617093
Convert the whole files/ directory to py3 syntax ( #3685 )
9 years ago
Toshio Kuratomi
2920658776
Change one param to be of type path
9 years ago
Brian Coca
ab4c542b33
added missing checksum alias
9 years ago
Brian Coca
81b827f869
fixed option name mismatch, added aliases
...
also removed empty aliases
9 years ago
Brian Coca
f500a2ec53
added mime option to stat module
...
it uses file magic to now return mime_type and charset of a file as
per output of `file -i /path`
9 years ago
krdlab
61a3625ed0
Fix 'stat' module document
9 years ago
Timothy Appnel
ca12ed5d98
Added the checksum_algo alias to the stats module.
9 years ago
Ryan Sydnor
fb10161510
Add capability for stat module to use more hash algorithms
...
Specifically, the stat module now has a checksum_algorithm parameter.
This lets the module utilize one of the hash algorithms available on the host
to return the checksum of the file.
This change is backwards compatible. The checksum_algorithm defaults to
sha1 and still returns its result to the stat.checksum property.
9 years ago
Brian Coca
2b33c92e7a
corrected docs for stat's lnk_source
...
fixes #12850
9 years ago
Mitchell Ludwig
9e11f5fd15
Improved stat documentation
9 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
Brian Coca
898f47e557
stat doc fix
...
fixes #1371
10 years ago
Toshio Kuratomi
515cd6666d
Fix stat code to return name of group owning the file rather than name of group that the file's owner belongs to.
...
Followup to #17
10 years ago
Brian Coca
dbd8ea1e7d
fixed typo on isgid
10 years ago
Brian Coca
6e654f2442
fixed issues with stats return docs as per feedback
10 years ago
Brian Coca
13cdadcc4d
removed always for success, as data wont show on fail
10 years ago
Brian Coca
4035d24313
Merge pull request #17 from cooniur/devel
...
Added support of returning owner's group name in stat module
10 years ago
Brian Coca
e04ac864a5
Merge pull request #10 from techtonik/patch-1
...
files.stat: Expose path in returned result
10 years ago
Toshio Kuratomi
6317d3a988
Move from md5 to sha1 to work on FIPS-140 enabled systems
10 years ago
Tadej Janež
661b452fe3
Simplified condition in a stat module example testing if path is a directory.
10 years ago
Tongliang Liu
e26cbb6ace
Added support of returning owner's group name in stat module
10 years ago
anatoly techtonik
7f9305b24e
files.stat: Expose path in returned result
...
This is needed to apply subsequent operation on tested path
10 years ago
Michael DeHaan
c8e1a2077e
file extensions!
10 years ago