RepoFile Type
A single file in a DataHub repository, as returned by the
.
Content is encoded according to Encoding (typically base64).
Constructors
| Constructor |
Description
|
Full Usage:
RepoFile(fileName, filePath, size, encoding, content, refName, blobId, commitId)
Parameters:
string
filePath : string
size : int
encoding : string
content : string
refName : string
blobId : string
commitId : string
Returns: RepoFile
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.BlobId
Returns: string
|
The SHA of the file blob.
|
Full Usage:
this.CommitId
Returns: string
|
The SHA of the last commit that touched the file.
|
Full Usage:
this.Content
Returns: string
|
The file content, encoded as described by
|
Full Usage:
this.Encoding
Returns: string
|
The encoding of
|
Full Usage:
this.FileName
Returns: string
|
The file's name without its directory path.
|
Full Usage:
this.FilePath
Returns: string
|
The file's full path relative to the repository root.
|
Full Usage:
this.Ref
Returns: string
|
The branch, tag, or commit SHA the file was read from.
|
Full Usage:
this.Size
Returns: int
|
The file size in bytes.
|
DataHubClient