Lua interface for caches.
More...
#include <lauxlib.h>
#include <lua.h>
#include <lualib.h>
Go to the source code of this file.
Lua interface for caches.
◆ lua_caches_images_write()
| int lua_caches_images_write |
( |
lua_State * |
lua_vm | ) |
|
Renames a file for the images cache
- Parameters
-
- Returns
- number of elements pushed to lua stack
◆ lua_caches_lyrics_write()
| int lua_caches_lyrics_write |
( |
lua_State * |
lua_vm | ) |
|
Writes a file to the lyrics cache
- Parameters
-
- Returns
- number of elements pushed to lua stack
◆ lua_caches_tmp_file()
| int lua_caches_tmp_file |
( |
lua_State * |
lua_vm | ) |
|
Creates a temporary file in the misc cache folder
- Parameters
-
- Returns
- number of elements pushed to lua stack
◆ lua_caches_update_mtime()
| int lua_caches_update_mtime |
( |
lua_State * |
lua_vm | ) |
|
Updates the timestamp of a file
- Parameters
-
- Returns
- number of elements pushed to lua stack