文件操作 - late_time.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rake-13.0.6/lib/rake/late_time.rb
编辑文件内容
# frozen_string_literal: true module Rake # LateTime is a fake timestamp that occurs _after_ any other time value. class LateTime include Comparable include Singleton def <=>(other) 1 end def to_s "<LATE TIME>" end end LATE = LateTime.instance end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件