Class: Yobi::FindMatch
Overview
One matched file/directory from a Yobi::Repository#find call.
Instance Method Summary
collapse
Methods inherited from FancyHash
#initialize, #inspect, #pretty_print
Instance Method Details
#atime ⇒ Time
88
89
90
|
# File 'lib/yobi/repository/find.rb', line 88
def atime
@atime ||= Time.parse(self["atime"])
end
|
#ctime ⇒ Time
92
93
94
|
# File 'lib/yobi/repository/find.rb', line 92
def ctime
@ctime ||= Time.parse(self["ctime"])
end
|
#gid ⇒ Integer
68
69
70
|
# File 'lib/yobi/repository/find.rb', line 68
def gid
self["gid"]
end
|
#group ⇒ String
76
77
78
|
# File 'lib/yobi/repository/find.rb', line 76
def group
self["group"]
end
|
#inode ⇒ Integer
80
81
82
|
# File 'lib/yobi/repository/find.rb', line 80
def inode
self["inode"]
end
|
#mtime ⇒ Time
84
85
86
|
# File 'lib/yobi/repository/find.rb', line 84
def mtime
@mtime ||= Time.parse(self["mtime"])
end
|
#path ⇒ String
48
49
50
|
# File 'lib/yobi/repository/find.rb', line 48
def path
self["path"]
end
|
#permissions ⇒ String
60
61
62
|
# File 'lib/yobi/repository/find.rb', line 60
def permissions
self["permissions"]
end
|
#size ⇒ Integer
56
57
58
|
# File 'lib/yobi/repository/find.rb', line 56
def size
self["size"]
end
|
#type ⇒ String
52
53
54
|
# File 'lib/yobi/repository/find.rb', line 52
def type
self["type"]
end
|
#uid ⇒ Integer
64
65
66
|
# File 'lib/yobi/repository/find.rb', line 64
def uid
self["uid"]
end
|
#user ⇒ String
72
73
74
|
# File 'lib/yobi/repository/find.rb', line 72
def user
self["user"]
end
|