chickadee » 9p » walk

walk message parent-fid-value bind-fid! reply! error!procedure

This corresponds to a 9P Twalk request. The message is a list of three elements, those being the fid of the already open parent directory, the fid to bind the located file or directory to, and a list of path components to traverse.

parent-fid-value is the value bound to the parent fid.

If the walk operation succeeds, bind-fid! should be called with the initial state of the new fid, and reply! called with a list containing a single element, that being the list of QIDs of the traversed directories.

If the walk operation fails, error! should be called with a suitable error string.