Method: Fluent::WindowsFile#stat

Defined in:
lib/fluent/file_wrapper.rb

#statObject

Raises:

  • (Errno::ENOENT)


82
83
84
85
86
87
88
# File 'lib/fluent/file_wrapper.rb', line 82

def stat
  raise Errno::ENOENT if delete_pending
  s = File.stat(@path)
  s.instance_variable_set :@ino, self.ino
  def s.ino; @ino; end
  s
end