public Method

FileUtils.fu_get_uid(user)

There's no documentation for this item.

Source Code

# File fileutils.rb, line 975
def fu_get_uid(user)   #:nodoc:
  return nil unless user
  user = user.to_s
  if /\A\d+\z/ =~ user
  then user.to_i
  else Etc.getpwnam(user).uid
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.