The “directory” package has functions and data structures used to keep track of directories while traversing the fuchsia repository.