MCPcopy Create free account
hub / github.com/NetHack/NetHack / nh_compress

Function nh_compress

src/files.c:1786–1792  ·  view source on GitHub ↗

compress file */

Source from the content-addressed store, hash-verified

1784
1785/* compress file */
1786void
1787nh_compress(const char *filename UNUSED_if_not_COMPRESS)
1788{
1789#if defined(COMPRESS) || defined(ZLIB_COMP)
1790 docompress_file(filename, FALSE);
1791#endif
1792}
1793
1794/* uncompress file if it exists */
1795void

Callers 12

mainFunction · 0.85
libnhmain.cFile · 0.85
MAINFunction · 0.85
pcmainFunction · 0.85
compress_bonesfileFunction · 0.85
plname_from_fileFunction · 0.85
ifFunction · 0.85
dosave0Function · 0.85
MAINFunction · 0.85
mainFunction · 0.85
process_savefileFunction · 0.85
open_srcfileFunction · 0.85

Calls 1

docompress_fileFunction · 0.85

Tested by

no test coverage detected