Class
Serverspec::Type::File
In:
lib/serverspec/type/file.rb
Parent:
Base
Methods
contain
content
directory?
executable?
file?
grouped_into?
immutable?
linked_to?
match_checksum
match_md5checksum
match_sha256checksum
mode?
mounted?
mtime
owned_by?
readable?
size
socket?
version?
writable?
Attributes
content
[RW]
Public Instance methods
contain
(pattern, from, to)
content
()
directory?
()
executable?
(by_whom, by_user)
file?
()
grouped_into?
(group)
immutable?
()
linked_to?
(target)
match_checksum
(checksum)
match_md5checksum
(md5sum)
match_sha256checksum
(sha256sum)
mode?
(mode)
mounted?
(attr, only_with)
mtime
()
owned_by?
(owner)
readable?
(by_whom, by_user)
size
()
socket?
()
version?
(version)
writable?
(by_whom, by_user)
[Validate]