here https://github.com/espruino/Espruino/blob/master/libs/filesystem/jswrap_file.c#L115
It is defined in libs/filesystem so it gets included in boards that use FILESYSTEM module/library which PUCK doesn't have enabled https://github.com/espruino/Espruino/blob/master/boards/PUCKJS.py#L40
libs/filesystem
@fanoush started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
here https://github.com/espruino/Espruino/blob/master/libs/filesystem/jswrap_file.c#L115
It is defined in
libs/filesystem
so it gets included in boards that use FILESYSTEM module/library which PUCK doesn't have enabledhttps://github.com/espruino/Espruino/blob/master/boards/PUCKJS.py#L40