Class: Zip::Archive

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
ext/zipruby_archive.c

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.decryptObject



21
# File 'ext/zipruby_archive.c', line 21

static VALUE zipruby_archive_s_decrypt(VALUE self, VALUE path, VALUE password);

.encryptObject



22
# File 'ext/zipruby_archive.c', line 22

static VALUE zipruby_archive_s_encrypt(VALUE self, VALUE path, VALUE password);

.openObject



19
# File 'ext/zipruby_archive.c', line 19

static VALUE zipruby_archive_s_open(int argc, VALUE *argv, VALUE self);

.open_bufferObject



20
# File 'ext/zipruby_archive.c', line 20

static VALUE zipruby_archive_s_open_buffer(int argc, VALUE *argv, VALUE self);

Instance Method Details

#<<Object



30
# File 'ext/zipruby_archive.c', line 30

static VALUE zipruby_archive_add_io(int argc, VALUE *argv, VALUE self);

#addObject



31
# File 'ext/zipruby_archive.c', line 31

static VALUE zipruby_archive_add_function(int argc, VALUE *argv, VALUE self);

#add_bufferObject



28
# File 'ext/zipruby_archive.c', line 28

static VALUE zipruby_archive_add_buffer(VALUE self, VALUE name, VALUE source);

#add_dirObject



58
# File 'ext/zipruby_archive.c', line 58

static VALUE zipruby_archive_add_dir(VALUE self, VALUE name);

#add_fileObject



29
# File 'ext/zipruby_archive.c', line 29

static VALUE zipruby_archive_add_file(int argc, VALUE *argv, VALUE self);

#add_ioObject



30
# File 'ext/zipruby_archive.c', line 30

static VALUE zipruby_archive_add_io(int argc, VALUE *argv, VALUE self);

#add_or_replaceObject



39
# File 'ext/zipruby_archive.c', line 39

static VALUE zipruby_archive_add_or_replace_function(int argc, VALUE *argv, VALUE self);

#add_or_replace_bufferObject



36
# File 'ext/zipruby_archive.c', line 36

static VALUE zipruby_archive_add_or_replace_buffer(int argc, VALUE *argv, VALUE self);

#add_or_replace_fileObject



37
# File 'ext/zipruby_archive.c', line 37

static VALUE zipruby_archive_add_or_replace_file(int argc, VALUE *argv, VALUE self);

#add_or_replace_ioObject



38
# File 'ext/zipruby_archive.c', line 38

static VALUE zipruby_archive_add_or_replace_io(int argc, VALUE *argv, VALUE self);

#closeObject



23
# File 'ext/zipruby_archive.c', line 23

static VALUE zipruby_archive_close(VALUE self);

#commentObject



41
# File 'ext/zipruby_archive.c', line 41

static VALUE zipruby_archive_get_comment(int argc, VALUE *argv, VALUE self);

#comment=Object



42
# File 'ext/zipruby_archive.c', line 42

static VALUE zipruby_archive_set_comment(VALUE self, VALUE comment);

#commitObject



53
# File 'ext/zipruby_archive.c', line 53

static VALUE zipruby_archive_commit(VALUE self);

#decryptObject



55
# File 'ext/zipruby_archive.c', line 55

static VALUE zipruby_archive_decrypt(VALUE self, VALUE password);

#eachObject



52
# File 'ext/zipruby_archive.c', line 52

static VALUE zipruby_archive_each(VALUE self);

#encryptObject



56
# File 'ext/zipruby_archive.c', line 56

static VALUE zipruby_archive_encrypt(VALUE self, VALUE password);

#fdeleteObject



46
# File 'ext/zipruby_archive.c', line 46

static VALUE zipruby_archive_fdelete(VALUE self, VALUE index);

#fopenObject



26
# File 'ext/zipruby_archive.c', line 26

static VALUE zipruby_archive_fopen(int argc, VALUE *argv, VALUE self);

#frenameObject



47
# File 'ext/zipruby_archive.c', line 47

static VALUE zipruby_archive_frename(VALUE self, VALUE index, VALUE name);

#frevertObject



50
# File 'ext/zipruby_archive.c', line 50

static VALUE zipruby_archive_unchange(VALUE self);

#funchangeObject



48
# File 'ext/zipruby_archive.c', line 48

static VALUE zipruby_archive_funchange(VALUE self, VALUE index);

#funchange_allObject



49
# File 'ext/zipruby_archive.c', line 49

static VALUE zipruby_archive_funchange_all(VALUE self);

#get_commentObject



41
# File 'ext/zipruby_archive.c', line 41

static VALUE zipruby_archive_get_comment(int argc, VALUE *argv, VALUE self);

#get_fcommentObject



44
# File 'ext/zipruby_archive.c', line 44

static VALUE zipruby_archive_get_fcomment(int argc, VALUE *argv, VALUE self);

#get_nameObject



25
# File 'ext/zipruby_archive.c', line 25

static VALUE zipruby_archive_get_name(int argc, VALUE *argv, VALUE self);

#get_statObject



27
# File 'ext/zipruby_archive.c', line 27

static VALUE zipruby_archive_get_stat(int argc, VALUE *argv, VALUE self);

#locate_nameObject



43
# File 'ext/zipruby_archive.c', line 43

static VALUE zipruby_archive_locate_name(int argc, VALUE *argv, VALUE self);

#num_filesObject



24
# File 'ext/zipruby_archive.c', line 24

static VALUE zipruby_archive_num_files(VALUE self);

#open?Boolean

Returns:

  • (Boolean)


54
# File 'ext/zipruby_archive.c', line 54

static VALUE zipruby_archive_is_open(VALUE self);

#readObject



57
# File 'ext/zipruby_archive.c', line 57

static VALUE zipruby_archive_read(VALUE self);

#replaceObject



35
# File 'ext/zipruby_archive.c', line 35

static VALUE zipruby_archive_replace_function(int argc, VALUE *argv, VALUE self);

#replace_bufferObject



32
# File 'ext/zipruby_archive.c', line 32

static VALUE zipruby_archive_replace_buffer(int argc, VALUE *argv, VALUE self);

#replace_fileObject



33
# File 'ext/zipruby_archive.c', line 33

static VALUE zipruby_archive_replace_file(int argc, VALUE* argv, VALUE self);

#replace_ioObject



34
# File 'ext/zipruby_archive.c', line 34

static VALUE zipruby_archive_replace_io(int argc, VALUE* argv, VALUE self);

#revertObject



51
# File 'ext/zipruby_archive.c', line 51

static VALUE zipruby_archive_revert(VALUE self);

#set_fcommentObject



45
# File 'ext/zipruby_archive.c', line 45

static VALUE zipruby_archive_set_fcomment(VALUE self, VALUE index, VALUE comment);

#unchangeObject



50
# File 'ext/zipruby_archive.c', line 50

static VALUE zipruby_archive_unchange(VALUE self);

#updateObject



40
# File 'ext/zipruby_archive.c', line 40

static VALUE zipruby_archive_update(int argc, VALUE *argv, VALUE self);