diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2022-02-13 10:13:54 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2022-02-13 10:13:54 -0500 |
| commit | 839e8973475f1f0bdc05657ea13cd23a16d85cd8 (patch) | |
| tree | 4bf6ae1b7949c76c03d0e02db078350b561efc91 /internal/iohelpers | |
| parent | f640ec5f846d7e40e619bfba1023de09fe421814 (diff) | |
Remove notes that shouldn't have been committed
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'internal/iohelpers')
| -rw-r--r-- | internal/iohelpers/skipsame_flow.md | 17 | ||||
| -rw-r--r-- | internal/iohelpers/template_process_flow.md | 51 |
2 files changed, 0 insertions, 68 deletions
diff --git a/internal/iohelpers/skipsame_flow.md b/internal/iohelpers/skipsame_flow.md deleted file mode 100644 index 53a1fdf9..00000000 --- a/internal/iohelpers/skipsame_flow.md +++ /dev/null @@ -1,17 +0,0 @@ -```mermaid -graph TD - A[write] --> B{diff ==} - B -->|true| C{File open yet?} - B -->|false| BB - DF[Write to file] - - C -->|true| DF - C -->|false| E[Open File] - E --> F[Flush buffer to file] - F --> DF - - BB[Read Output] --> BC{bytes differ?} - BC -->|true| BD[diff = true] - BD -->|false| DB[Write to Buffer] - BD --> C -``` diff --git a/internal/iohelpers/template_process_flow.md b/internal/iohelpers/template_process_flow.md deleted file mode 100644 index 51c567c1..00000000 --- a/internal/iohelpers/template_process_flow.md +++ /dev/null @@ -1,51 +0,0 @@ - -1. "gather templates" - gather and prepare inputs and outputs for rendering - - - - - -```mermaid -flowchart TB - S([Begin]) --> A - A[[gather templates]] --> B - B{input type?} -->|dir| BA - B -->|files| BB - B -->|string| BC - - D([End]) - - C[[process templates]] --> CA - CA([start iterating templates]) --> CAA - - CAA{next template?} -->|yes| CAB - CAA -->|no| CAD - - CAD([done iterating templates]) --> D - - CAB[[load template contents]] --> CABA - CABA[open/read input] --> CAC - - CAC[[add target]] --> CACA - CACA[create/open output file] --> CAA - - BA[[walk dir]] --> BAA - BAA[find all matching files in dir] --> BAB - BAB([start iterating files]) --> BABA - BABA{next file?} -->|yes| BABAA - BABA -->|no| BAC - BAC([done iterating files]) --> C - - BABAA[name file] --> BABAB - BABAB[determine mode] --> BABAC - BABAC[ensure parent dirs exist] --> BABAD - BABAD[create template] --> BABA - - BB([start iterating files]) --> BBA - BBA{next file?} -->|yes| BBAA - BBA -->|no| BBD - BBD([done iterating files]) --> C - - BBAA[create template from file] --> BBA - - BC[create template] --> C -``` |
