Class | Zip::ZipFileSystem::ZipFsFile::ZipFsStat |
In: |
lib/zip/zipfilesystem.rb
|
Parent: | Object |
protected :dir
# File lib/zip/zipfilesystem.rb, line 73 def initialize(zipFsFile, entryName) @zipFsFile = zipFsFile @entryName = entryName end
# File lib/zip/zipfilesystem.rb, line 78 def forward_invoke(msg) @zipFsFile.send(msg, @entryName) end
# File lib/zip/zipfilesystem.rb, line 132 def ftype if file? return "file" elsif directory? return "directory" else raise StandardError, "Unknown file type" end end
# File lib/zip/zipfilesystem.rb, line 104 def gid e = get_entry if e.extra.member? "IUnix" e.extra["IUnix"].gid || 0 else 0 end end