Mongo.GridFs.Bucket.rename

You're seeing just the function rename, go back to Mongo.GridFs.Bucket module for more information.
Link to this function

rename(bucket, file_id, new_filename)

View Source

Specs

Renames the stored file with the specified file_id.