Stream: general

Topic: ✔ cap-std: renaming a directory


view this post on Zulip code red art (Jul 03 2023 at 14:06):

cap_std: If i had a parent and child Dir, what would happen if i renamed the parent Dir and then created a file in child Dir? will it automatically use the new renamed path?

Also, is there no cap_std channel to ask questions?

view this post on Zulip Dan Gohman (Jul 03 2023 at 15:22):

Yeah, there is no dedicated cap_std channel yet; the general general here works.

view this post on Zulip Dan Gohman (Jul 03 2023 at 15:24):

Dirs in cap-std are based on open directory handles, rather than paths, so you can rename a parent and the child will continue to refer to its same directory in the renamed parent.

view this post on Zulip Notification Bot (Jul 03 2023 at 15:25):

3 messages were moved here from #general > Bytecode Alliance Community Stream by Dan Gohman.

view this post on Zulip Notification Bot (Jul 03 2023 at 17:14):

code red art has marked this topic as resolved.


Last updated: Dec 23 2024 at 12:05 UTC