@Override
        public boolean equals(final Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            final TaskDirectory that = (TaskDirectory) o;
            return file.equals(that.file) &&
                Objects.equals(namedTopology, that.namedTopology);
        }
List all of the task directories along with their parent directory if they belong to a named topology
@return The list of all the existing local directories for stream tasks
streams/src/main/java/org/apache/kafka/streams/processor/internals/StateDirectory.java