Add a notes file
This commit is contained in:
25
notes.md
Normal file
25
notes.md
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
## Package Installation Flow
|
||||||
|
|
||||||
|
1. **Fetch URL**
|
||||||
|
└─> Download content
|
||||||
|
└─> Build Package Instance (Metadata & Payload)
|
||||||
|
└─> Check local file status
|
||||||
|
|
||||||
|
2. **Local File Check**
|
||||||
|
├─> If file doesn't exist:
|
||||||
|
│ └─> Save file
|
||||||
|
│
|
||||||
|
└─> If file exists:
|
||||||
|
└─> Compare versions
|
||||||
|
├─> If older/same:
|
||||||
|
│ └─> "Package already installed"
|
||||||
|
│
|
||||||
|
└─> If newer:
|
||||||
|
└─> Check local modifications
|
||||||
|
├─> If modified:
|
||||||
|
│ └─> "Local modifications detected"
|
||||||
|
│ └─> "Use 'update <file_path>'"
|
||||||
|
│
|
||||||
|
└─> If unmodified:
|
||||||
|
└─> "Update available"
|
||||||
|
└─> "Use 'update <file_path> -f' to force update"
|
||||||
Reference in New Issue
Block a user