ctime(p1)
public
Returns the change time for the named file (the time at which directory
information about the file was changed, not the file itself).
File.ctime("testfile")
Show source
static VALUE
rb_file_s_ctime(VALUE klass, VALUE fname)
{
struct stat st;
if (rb_stat(fname, &st) < 0) {
FilePathValue(fname);
rb_sys_fail(RSTRING_PTR(fname));
}
return stat_ctime(&st);
}