Commit Graph

19 Commits (c8d5fdaf275561797c1fe8a6131c7fcc0dda3348)

Author SHA1 Message Date
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