machinepack-paths
Version:
Utilities for handling and transforming file paths.
31 lines • 653 B
JSON
{
"machine": "parse",
"expectations": [
{
"using": {
"path": "/Users/mikermcneil/tantric-math-problems/02.txt"
},
"outcome": "success",
"returns": {
"root": "/",
"dir": "/Users/mikermcneil/tantric-math-problems",
"base": "02.txt",
"ext": ".txt",
"name": "02"
}
},
{
"using": {
"path": "mikermcneil/tantric-math-problems/02.txt"
},
"outcome": "success",
"returns": {
"root": "",
"dir": "mikermcneil/tantric-math-problems",
"base": "02.txt",
"ext": ".txt",
"name": "02"
}
}
]
}