文件操作 - pool_entry.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/http/pool_entry.rb
编辑文件内容
# frozen_string_literal: true # An entry in the peristent HTTP pool that references the connection and # an expiration time for the connection. # # @api private class Puppet::HTTP::PoolEntry attr_reader :connection, :verifier def initialize(connection, verifier, expiration_time) @connection = connection @verifier = verifier @expiration_time = expiration_time end def expired?(now) @expiration_time <= now end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件