You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch adds support for creating embedded files with their MD5
checksum calculated at time of the buffer generation and stored
alongside the asset information. The checksum feature can be enabled via
the command line with the `--md5checksum` flag. The default value for
the flag is `false`.
flag.BoolVar(&c.NoMemCopy, "nomemcopy", c.NoMemCopy, "Use a .rodata hack to get rid of unnecessary memcopies. Refer to the documentation to see what implications this carries.")
49
49
flag.BoolVar(&c.NoCompress, "nocompress", c.NoCompress, "Assets will *not* be GZIP compressed when this flag is specified.")
50
50
flag.BoolVar(&c.NoMetadata, "nometadata", c.NoMetadata, "Assets will not preserve size, mode, and modtime info.")
51
+
flag.BoolVar(&c.MD5Checksum, "md5checksum", c.MD5Checksum, "MD5 checksums will be calculated for assets.")
51
52
flag.UintVar(&c.Mode, "mode", c.Mode, "Optional file mode override for all files.")
52
53
flag.Int64Var(&c.ModTime, "modtime", c.ModTime, "Optional modification unix timestamp override for all files.")
53
54
flag.StringVar(&c.Output, "o", c.Output, "Optional name of the output file to be generated.")
0 commit comments