private static List <string> GetDirectoryDependencies(ReadOnlyArray <DirectoryArtifact> dependencies, PathTable pathTable, PipGraph graph)
 {
     return(GetJsonFriendlyList(
                dependencies
                .Where(value => value.Path.IsValid)
                .Select(value => {
         var pipHash = graph.GetFormattedSemiStableHash(graph.GetSealedDirectoryNode(value).ToPipId());
         return $"{value.Path.ToString(pathTable)} (SealDirectorySemiStableHash: {pipHash}, PartialSealId: {value.PartialSealId}, IsSharedOpaque: {(value.IsSharedOpaque ? 1 : 0)})";
     })
                ));
 }