gunk-dev/the-valley

file-to-directory.json

source4a0035221288main's published tip history
447 bytes
1{
2 "about": "A file that becomes a directory, and a directory that becomes a file: the old entry absent after, the new one absent before.",
3 "pre": [
4 {"path": "config", "mode": "100644", "content": "flat\n"},
5 {"path": "lib/x.go", "mode": "100644", "content": "package lib\n"}
6 ],
7 "post": [
8 {"path": "config/main.toml", "mode": "100644", "content": "nested\n"},
9 {"path": "lib", "mode": "120000", "content": "vendor/lib"}
10 ]
11}