# File lib/fog/local/models/storage/files.rb, line 59 def head(key) requires :directory path = file_path(key) if ::File.exists?(path) new({ :content_length => ::File.size(path), :key => key, :last_modified => ::File.mtime(path) }) else nil end end