@zowe/cli
Version:
Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.
21 lines (20 loc) • 640 B
TypeScript
export declare enum TransferMode {
BINARY = 0,
TEXT = 1
}
/**
* Attributes for a set of files relating to how they will be uploaded to USS
*/
export declare class ZosFilesAttributes {
private static MAX_EXPECTED_FIELDS;
private static MIN_EXPECTED_FIELDS;
private attributes;
private basePath;
constructor(attributesFileContents: string, basePath?: string);
fileShouldBeUploaded(path: string): boolean;
getFileTransferMode(path: string): TransferMode;
getRemoteEncoding(path: string): string;
getLocalEncoding(path: string): string;
private parse;
private findLastMatchingAttributes;
}