Module: Ronin::Controls::Helpers::FileCtime

Includes:
FileSystem
Defined in:
lib/ronin/controls/helpers/file_ctime.rb

Instance Method Summary collapse

Methods included from FileSystem

#chdir, #cwd, #updir!

Instance Method Details

#change_file_ctime(path, new_time) ⇒ Object

Changes the creation time of the file at the specified path, to that of the specified new_time.

Raises:

Since:

  • 0.3.0



46
47
48
# File 'lib/ronin/controls/helpers/file_ctime.rb', line 46

def change_file_ctime(path,new_time)
  raise(NotImplemented,"the change_file_ctime method has not been implemented",caller)
end

#file_ctime(path) ⇒ Object

Returns the creation time of the file at the specified path.

Raises:

Since:

  • 0.3.0



36
37
38
# File 'lib/ronin/controls/helpers/file_ctime.rb', line 36

def file_ctime(path)
  raise(NotImplemented,"the file_ctime method has not been implemented",caller)
end