Learn R Programming

recordr (version 1.0.3)

initialize,FileMetadata-method: Initialize a file metadata object.

Description

Initialize a file metadata object.

Usage

"initialize"(.Object, file, fileId = as.character(NA), sha256 = as.character(NA), size = as.numeric(0), user = as.character(NA), createTime = as.character(NA), modifyTime = as.character(NA), executionId, access = as.character(NA), format = as.character(NA), archivedFilePath = as.character(NA))

Arguments

.Object
a "FileMetdata" object
file
a "character", a file to acquire metadata for
fileId
a "character", the unique identifier for this FileMeta object
sha256
a "character", the checksum for the file
size
a "numeric", size in bytes of the file
user
a "character", the user that owns the file
createTime
a "character", the creation time of the file
modifyTime
a "character", the modification time of the file
executionId
a "character", the executionId associated with this FileMeatadata object
access
"character", the access that occurred for this file ("read", "write", "execute")
format
a "character", the format type associate with the file, e.g. "text/csv"
archivedFilePath
a "character", the file path of the file

Details

This method is used internally by the recordr package.

See Also

FileMetadata class description