[erlang-questions] documentation error in zip module (another one)

Bengt Kleberg <>
Wed Nov 15 09:55:27 CET 2006


greetings,

in the documentation for the zip module:

''extract(Archive, Options) -> RetValue

Types:

Name = filename() | binary()
Options = [Option]
Option = {files, FileList} | keep_old_files | verbose | memory | 
{file_filter, FileFilter}''


- memory is not explained

- file_filter has #zip_file{} which is not described, nor is it 
explained where i can find it.

- {files, List} is explained but gives the following:
4> zip:extract( "a.zip", [{files,["atmp"]}]).
{error,{bad_option,{files,["atmp"]}}}


bengt
-- 
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list