From 8e0d189169ab9fb583f02d5168b76dd50c3691a0 Mon Sep 17 00:00:00 2001 From: Josh Boudreau <46575851+joshuaboud@users.noreply.github.com> Date: Thu, 18 May 2023 13:24:11 -0300 Subject: [PATCH] add copyright header --- navigator/src/functions/streamProcDownload.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/navigator/src/functions/streamProcDownload.js b/navigator/src/functions/streamProcDownload.js index 1d9e949..b95da68 100644 --- a/navigator/src/functions/streamProcDownload.js +++ b/navigator/src/functions/streamProcDownload.js @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2022 Josh Boudreau + * + * This file is part of Cockpit Navigator. + * + * Cockpit Navigator is free software: you can redistribute it and/or modify it under the terms + * of the GNU General Public License as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Cockpit Navigator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with Cockpit Navigator. + * If not, see . + */ + export function streamProcDownload(argv, filename, opts = {}) { const query = window.btoa(JSON.stringify({ payload: 'stream',