method
fu_get_uid
fu_get_uid(user)
public
Hide source
# File lib/fileutils.rb, line 1107 def fu_get_uid(user) #:nodoc: return nil unless user case user when Integer user when /\A\d+\z/ user.to_i else Etc.getpwnam(user) ? Etc.getpwnam(user).uid : nil end end