Path builder
Last updated
Last updated
[io/file/Path builder]
Constructs an operating system specific path of the specified segments. Example:
{
"directory": "/home/user1/dir1",
"basename": "foo",
"extension": ".txt"
}@0 received on components
"/home/user1/dir1/foo.txt"@0 sent on path
components:
Receives the components to build the path from. Example (Windows): { "directory": "C:/Users/User1/dir1", "basename": "foo", "extension": ".txt" } Example (OSX & *nix): { "directory": "/home/user1/dir1", "basename": "foo", "extension": ".txt" } (To keep the application portable use "/" as path separator.)
path: string
Sends the resulting path. Example (Windows): "C:/Users/User1/dir1/foo.txt" Example (OSX & *nix): "/home/user1/dir1/foo.txt"