importpw / import

`import` is a simple and fast module system for Bash and other Unix shells
https://import.sh
MIT License
338 stars 10 forks source link

Refactor the caching structure to use subdirs #16

Closed TooTallNate closed 6 years ago

TooTallNate commented 6 years ago

Now there's data, links, and locations sub directories to help organize the cache dir a bit more cleanly.

Example:

$ tree cache/
cache/
├── data
│   ├── 3194faa9bbe86403ff63aa59f199c021033fd03b
│   └── 92e2e873a63e107ef153f1659cae7509d68d87bd
├── links
│   └── https:
│       ├── import.pw
│       │   └── tootallnate
│       │       └── hello?file=foo.sh -> ../../../../data/3194faa9bbe86403ff63aa59f199c021033fd03b
│       └── raw.githubusercontent.com
│           └── tootallnate
│               └── hello
│                   └── master
│                       └── bar.sh -> ../../../../../../data/92e2e873a63e107ef153f1659cae7509d68d87bd
└── locations
    └── https:
        ├── import.pw
        │   └── tootallnate
        │       └── hello?file=foo.sh
        └── raw.githubusercontent.com
            └── tootallnate
                └── hello
                    └── master
                        └── bar.sh

17 directories, 6 files
vercel[bot] commented 6 years ago

This pull request is automatically deployed with Now.

To access deployments, click Details below or on the icon next to each push.