Implement enough of the File JS API to serve some web pages.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4208 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-09 01:03:35 +00:00
parent bf72782c9f
commit 2c1a43df2e
3 changed files with 143 additions and 2 deletions

View File

@ -1882,6 +1882,11 @@ void tf_task_set_zip_path(tf_task_t* task, const char* zip_path)
}
}
const char* tf_task_get_zip_path(tf_task_t* task)
{
return task->_zip ? task->_zip_path : NULL;
}
void tf_task_set_args(tf_task_t* task, const char* args)
{
task->_args = args;