path-size-0.1: Utility for reporting file-system sizes.
Safe HaskellNone
LanguageGHC2021

PathSize.Data.PathTree

Description

Provides PathTree type.

Since: 0.1

Synopsis

Documentation

data PathTree Source #

Given a path, represents the directory tree, with each subpath associated to its size. This structure is essentially a rose tree.

Since: 0.1

Constructors

!PathData :^| !(Seq PathTree) 

Instances

Instances details
Generic PathTree Source # 
Instance details

Defined in PathSize.Data.PathTree

Associated Types

type Rep PathTree

Since: path-size-0.1

Instance details

Defined in PathSize.Data.PathTree

Methods

from :: PathTree -> Rep PathTree x #

to :: Rep PathTree x -> PathTree #

Show PathTree Source #

Since: 0.1

Instance details

Defined in PathSize.Data.PathTree

NFData PathTree Source #

Since: 0.1

Instance details

Defined in PathSize.Data.PathTree

Methods

rnf :: PathTree -> () #

Eq PathTree Source #

Since: 0.1

Instance details

Defined in PathSize.Data.PathTree

type Rep PathTree Source #

Since: 0.1

Instance details

Defined in PathSize.Data.PathTree

pathTreeToSeq :: PathTree -> NESeq PathData Source #

Flattens a PathTree into a Seq.

Since: 0.1