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