aboutsummaryrefslogtreecommitdiff
path: root/src/property/file.lisp
Commit message (Collapse)AuthorAge
...
* fix use of REMOTE-EXISTS-PSean Whitton2021-04-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DOES-NOT-EXIST: fix :CHECKSean Whitton2021-04-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: support :MODE argumentSean Whitton2021-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:LACKS-LINESSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-LINES: cope with non-existent fileSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-LINES: use &RESTSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename CONTAINS-FOO-CONF -> CONTAINS-CONF-FOOSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:CONTAINS-EQUALS-CONF & rename property for conf-space filesSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add some properties for setting keys & values in configuration filesSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:MAP-FILE-LINES: cope with non-existent fileSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* property/file.lisp: use WITH-CHANGE-IF-CHANGES-FILE{,-CONTENT}Sean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DIRECTORY-EXISTS: assume no changeSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DOES-NOT-EXIST: add a :CHECK subroutineSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: add descriptionSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-LINES: accept a single lineSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* untabifySean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* enable passing multiple paths to FILE:DOES-NOT-EXIST & drop :CHECKSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and use :CONSFIGURATOR named readtableSean Whitton2021-03-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:HAS-MODE, FILE:DOES-NOT-EXISTSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:DIRECTORY-EXISTSSean Whitton2021-03-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: use ETYPECASESean Whitton2021-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: if passed a string, ensure it ends in a newlineSean Whitton2021-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* store and export some indentation information for EmacsSean Whitton2021-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* simplify WRITEFILE file attribute preservationSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* in fact, combine HAS-CONTENT and HAS-CONTENT-LINESSean Whitton2021-03-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework FILE:HAS-CONTENT and add FILE:HAS-CONTENT-LINESSean Whitton2021-03-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add SECRET-UPLOADED and HOST-SECRET-UPLOADEDSean Whitton2021-03-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename REGEX-REPLACE-LINESSean Whitton2021-03-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* attempt to implement umask support for CONNECTION-WRITEFILESean Whitton2021-02-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out FILE::MAP-FILE-LINESSean Whitton2021-02-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:REGEX-REPLACE-LINES: make FILE argument the first oneSean Whitton2021-02-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:REGEX-REPLACE-LINESSean Whitton2021-02-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix FILE:CONTAINS-LINESSean Whitton2021-02-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rewrite FILE:CONTAINS-LINESSean Whitton2021-02-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework data source registration & move two props out of coreSean Whitton2021-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop FILE- prefix for two file propertiesSean Whitton2021-02-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* normalise file headers and some commentsSean Whitton2021-02-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use writefile in file:file-has-contentSean Whitton2021-02-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move code into an src/ subdirSean Whitton2021-02-16
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>