Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PutFileEntry

import type { PutFileEntry } from "https://aws-api.deno.dev/v0.3/services/codecommit.ts?docs=full";

Information about a file added or updated as part of a commit.

interface PutFileEntry {
fileContent?: Uint8Array | string | null;
fileMode?: FileModeTypeEnum | null;
filePath: string;
sourceFile?: SourceFileSpecifier | null;
}

§Properties

§
fileContent?: Uint8Array | string | null
[src]

The content of the file, if a source file is not specified.

§
fileMode?: FileModeTypeEnum | null
[src]

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

§
filePath: string
[src]

The full path to the file in the repository, including the name of the file.

§
sourceFile?: SourceFileSpecifier | null
[src]

The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.