summaryrefslogtreecommitdiffstats
path: root/lib/fs.lua
Commit message (Collapse)AuthorAgeFilesLines
* If no details for the file exists, then things got broken. This is now fixed.Mika Havela2008-05-061-12/+14
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1107 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed trailing newline. The files gets really ugly with leading \n.Mika Havela2008-02-201-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@759 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated the code to use md5sums in the acf passwd file. Made the ↵Mike Mason2008-01-301-0/+12
| | | | | | md5sum_string function(to go along with md5sum_file) in fs git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@665 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added function that does almost the same as posix.stat, but instead writes ↵Mika Havela2008-01-151-0/+17
| | | | | | human readable. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@577 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added an md5sum hash function to fs.lua. Cron-model and cron-controller ↵Mike Mason2007-12-131-0/+8
| | | | | | added just to grab and edit the crontab file. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@424 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Made validator functions useful after load, fixed a bug in format, changed ↵Mike Mason2007-12-051-1/+1
| | | | | | README to reflect changes git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@413 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added timezone information to date.lua. Added fs.file_write to be able to ↵Mike Mason2007-12-041-0/+2
| | | | | | add newlines at the end of the file(most strings don't have them) and also added a function to format.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@408 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Lots of changes. fs.lua now only has file/filesystem functions. format.lua ↵Mike Mason2007-11-281-83/+0
| | | | | | added to be convert/sytle format changes. join.lua and split.lua put in format now. May delete later. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@385 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added split and join to fs.lua and gave them function names so we don't have ↵Mike Mason2007-11-281-0/+36
| | | | | | to strsplit = require split. Added a date string to table function in date.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@378 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added ipairs_string to go through a table and make it a string. Easier to ↵Mike Mason2007-11-221-0/+15
| | | | | | write to a file with write_file git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@357 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added a search replace function for filesMike Mason2007-11-221-1/+14
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@356 ab2d0c66-481e-0410-8bed-d214d4d58bed
* adding more functions to fs. May need to go into a file.luaMike Mason2007-11-151-3/+37
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@307 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed to use posix instead of lfsMike Mason2007-11-141-6/+12
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@302 ab2d0c66-481e-0410-8bed-d214d4d58bed
* moved core files to new dir structurev2.0_alpha1Natanael Copa2007-07-271-0/+89
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@219 ab2d0c66-481e-0410-8bed-d214d4d58bed