2017-09-29

(sph filesystem stream)

bindings that create or use srfi-41 streams for reading from directories

import name

(sph filesystem stream)

exports

directory-delete-content

procedure

signature

path ->

string ->

description

delete all files and directories under path.

a bit safer than "rm -r" because it works only on directories

directory-stream

procedure

signature

a ->

directory-handle/string:path -> stream

merge-files

procedure

signature

target-path source-paths ... ->

string string ... ->

description

creates or truncates "target-path" and appends the contents of all source-paths in order

sph-filesystem-stream-description

variable

tags: guile documentation library scheme sph-lib computer filesystem sph-filesystem-stream stream