<commit_before>// Copyright 2015, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Download Files to node',
    injectableName: 'Task.Linux.DownloadFiles',
    implementsTask: 'Task.Base.Linux.Commands',
    schemaRef: 'download-file.json',
    options: {
        downloadDir: '/opt/downloads',
        fileMd5Uri: '{{ api.files }}/md5/{{ options.file }}/latest',
        fileUri: '{{ api.files }}/{{ options.file }}/latest',
        outputPath: '{{ options.downloadDir }}/{{ options.file }}',
        commands: [<commit_msg>changing download-file to use 2.0 api syntax<commit_after>// Copyright 2015, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Download Files to node',
    injectableName: 'Task.Linux.DownloadFiles',
    implementsTask: 'Task.Base.Linux.Commands',
    schemaRef: 'download-file.json',
    options: {
        downloadDir: '/opt/downloads',
        fileMd5Uri: '{{ api.files }}/{{ options.file }}/md5',
        fileUri: '{{ api.files }}/{{ options.file }}',
        outputPath: '{{ options.downloadDir }}/{{ options.file }}',
        commands: [
{'fraction_non_alphanumeric': 0.1731996353691887, 'fraction_numerical': 0.01276207839562443, 'mean_word_length': 3.0817843866171004, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4538352', 'n_tokens_mistral': 354, 'n_tokens_neox': 343, 'n_words': 74}