std1.0.0-beta-7 SafeC docs

std :: http::static_files

Function std::http_file_info

#include <std/http/static_files.h> source ยท definition

int http_file_info(const &char path, &long long size, &long long mtime)

Size (bytes), modification time (Unix seconds) and kind of a file: 1 for a regular file, 2 for a directory, 0 if it doesn't exist.