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: {}
}
Release files for equality-check 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| equality-check-0.0.6.tar.gz | 3.3 kB | Details |
Release files / equality-check-0.0.6.tar.gz
| Download URL | equality-check-0.0.6.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a6ce580498cfd22f37f171fcbf9e4141aa4c35ae1b78bcea336639978dd690c
|
|
BLAKE2b-256 checksum How to use checksums |
5c5276bd4eae6c685e1f659d5ee4813e2bc5bc1c32a159560bd3c5fd9e029e5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|