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

Function nh_uncompress

src/files.c:1795–1801  ·  view source on GitHub ↗

uncompress file if it exists */

Source from the content-addressed store, hash-verified

1793
1794/* uncompress file if it exists */
1795void
1796nh_uncompress(const char *filename UNUSED_if_not_COMPRESS)
1797{
1798#if defined(COMPRESS) || defined(ZLIB_COMP)
1799 docompress_file(filename, TRUE);
1800#endif
1801}
1802
1803#ifdef ZLIB_COMP /* RLC 09 Mar 1999: Support internal ZLIB */
1804staticfn boolean

Callers 5

open_bonesfileFunction · 0.85
restore_saved_gameFunction · 0.85
plname_from_fileFunction · 0.85
ifFunction · 0.85
open_srcfileFunction · 0.85

Calls 1

docompress_fileFunction · 0.85

Tested by

no test coverage detected