No project description provided
Project description
equality-check
from equality_check import EQUALITY
EQ = EQUALITY (
FOLDER ("STATUS_FOLDERS/1/EQ_1"),
FOLDER ("STATUS_FOLDERS/1/EQ_2")
)
If the folders are equal, then these assertions should pass.
assert (len (EQ ['1']) == 0)
assert (len (EQ ['2']) == 0)
Otherwise:
#
# UNIQUE TO 1
# UNIQUE TO 2
#
# "f" UNIQUE FILE
# "fc" UNIQUE FILE CONTENTS
#
# "d" UNIQUE DIRECTORY
#
# "s" UNIQUE SYMLINK
# "sc" UNIQUE SYMLINK CONTENTS
#
EQ = {
1: {
"asdf/asdf": "f",
"asdf/asd": "d",
"asdff/asd": "?"
},
2: {}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
equality-check-0.0.6.tar.gz
(3.3 kB
view details)
File details
Details for the file equality-check-0.0.6.tar.gz
.
File metadata
- Download URL: equality-check-0.0.6.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6ce580498cfd22f37f171fcbf9e4141aa4c35ae1b78bcea336639978dd690c |
|
MD5 | 8e46fc25d8e118172b8c430a6b20b377 |
|
BLAKE2b-256 | 5c5276bd4eae6c685e1f659d5ee4813e2bc5bc1c32a159560bd3c5fd9e029e5b |