]> Cypherpunks repositories - gostls13.git/commit
archive/zip: improve Writer.Create documentation on how to add directories
authorYury Smolsky <yury@smolsky.by>
Sun, 25 Feb 2018 14:34:35 +0000 (16:34 +0200)
committerGiovanni Bajo <rasky@develer.com>
Mon, 26 Feb 2018 19:58:48 +0000 (19:58 +0000)
commit3b7ad1680fa6b97fff29f0af18795bd5f0f6a95a
treef1d7abd967153aeeabc135cb2f3f1112f17706dc
parentfd5bf0393eb7b3a21b55adf2c0f1e293b24cf308
archive/zip: improve Writer.Create documentation on how to add directories

FileHeader.Name also reflects this fact.

Fixes #24018

Change-Id: Id0860a9b23c264ac4c6ddd65ba20e0f1f36e4865
Reviewed-on: https://go-review.googlesource.com/97057
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
src/archive/zip/struct.go
src/archive/zip/writer.go