Documentation ¶
Overview ¶
fsstatus provides utility functions for querying several aspects of the filesystem, especially as pertains to monitoring.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Checksum ¶
Checksum returns the checksum of some data, using a specified algorithm. It only returns an error when an invalid algorithm is used. The valid ones are MD5, SHA1, SHA224, SHA256, SHA384, SHA512, SHA3224, SHA3256, SHA3384, and SHA3512.
func FileHasPermissions ¶
FileHasPermissions checks to see whether the file/directory/etc. at the given path has the given permissions (of the format -rwxrwxrwx)
func IsDirectory ¶
IsDirectory checks to see if there's a regular ol' directory at path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.