directory-ospath-streaming-0.2.1: Stream directory entries in constant memory in vanilla IO
Copyright(c) Sergey Vinokurov 2024
LicenseApache-2.0 (see LICENSE)
Maintainerserg.foo@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Directory.OsPath.Streaming.Internal

Description

 
Synopsis

Documentation

data DirStream Source #

Abstract handle to directory contents.

May be closed multiple times and will be automatically closed by GC when it goes out of scope.

Constructors

DirStream 

closeDirStream :: DirStream -> IO () Source #

Deallocate directory handle. It’s safe to close DirStream multiple times, unlike the underlying OS-specific directory stream handle.