1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-06-19 22:28:17 +02:00

Add parent dir to structure. Add test cases. Remove support for /Q

This commit is contained in:
Rasheed Elsaleh
2021-04-02 13:13:05 -04:00
parent a7ad24d2cb
commit d9dbcc8b52
15 changed files with 149 additions and 73 deletions
+12 -12
View File
@@ -6,7 +6,6 @@ Options supported:
- `/T timefield`
- `/O sortorder`
- `/C, /-C`
- `/Q`
Usage (cli):
@@ -249,21 +248,22 @@ Final processing to conform to the schema.
Parameters:
proc_data: (List of Dictionaries) raw structured data to process
proc_data: (Dictionary of Lists) raw structured data to process
Returns:
List of Dictionaries. Structured data with the following schema:
[
{
"date": string,
"time": string,
"dir": string,
"size": integer,
"filename: string
}
]
{"parent_dir":
[
{
"date": string,
"time": string,
"dir": string,
"size": integer,
"filename: string
}
]
}
## parse