Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast paths/directories to string #2250

Closed
joeyballentine opened this issue Oct 6, 2023 · 6 comments
Closed

Cast paths/directories to string #2250

joeyballentine opened this issue Oct 6, 2023 · 6 comments

Comments

@joeyballentine
Copy link
Member

Suggested in the RTX Remix discord. Users should be able to connect directories to string inputs, or there should be a path to text node that can turn a path into a string with options for Unix or Windows formatting

@RunDevelopment
Copy link
Member

with options for Unix or Windows formatting

Would that even be possible? I can see how one would format a windows path (e.g. C:\foo\bar) in unix style (e.g. /c/foo/bar), but not the other way around (e.g. what is /foo/bar in windows style? There is no drive).

So I guess the only styles we can support are unix and "native" (= the raw path).

@joeyballentine
Copy link
Member Author

e.g. what is /foo/bar in windows style? There is no drive

\\foo\\bar

@RunDevelopment
Copy link
Member

e.g. what is /foo/bar in windows style? There is no drive

\\foo\\bar

That not a valid path anywhere...

@joeyballentine
Copy link
Member Author

why can't partial/relative paths be valid?

@RunDevelopment
Copy link
Member

/foo/bar is an absolute path. That's why \foo\bar doesn't make sense.

@RunDevelopment
Copy link
Member

Resolved by #2695.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants