~crc_/block-tools

2e736f88f0def2c1b4b396278245df303a2730c9 — crc 2 years ago e5b8c51
add separate LICENSE file; add copyright line to source files
5 files changed, 24 insertions(+), 1 deletions(-)

A LICENSE.md
M block_config.py
M block_export.py
M block_import.py
M block_merge.py
A LICENSE.md => LICENSE.md +15 -0
@@ 0,0 1,15 @@
    Copyright (c) 2022 Arland Childers <arland@childe.rs>

Permission to use, copy, modify, and distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice
appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

M block_config.py => block_config.py +3 -1
@@ 1,1 1,3 @@
BLOCKS = 4096
# Copyright (c) 2022 Arland Childers <arland@childe.rs>

BLOCKS = 512

M block_export.py => block_export.py +2 -0
@@ 1,3 1,5 @@
# Copyright (c) 2022 Arland Childers <arland@childe.rs>

import block_config

def read_line(in_file):

M block_import.py => block_import.py +2 -0
@@ 1,3 1,5 @@
# Copyright (c) 2022 Arland Childers <arland@childe.rs>

import block_config

def write_blocks(file):

M block_merge.py => block_merge.py +2 -0
@@ 1,3 1,5 @@
# Copyright (c) 2022 Arland Childers <arland@childe.rs>

initial = {}
incoming = {}
compare = {}