initialize-FileMetadata: Initialize a file metadata object.

Description Usage Arguments Details See Also

Description

Initialize a file metadata object.

Usage

1
2
3
4
5
6
## S4 method for signature 'FileMetadata'
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


NCEAS/recordr documentation built on May 7, 2019, 5:59 p.m.