Commit Graph

16 Commits

Author SHA1 Message Date
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
2ecdc0f33a Use regexp-match*' instead of regexp-split'.
Also, explicitly make it throw an error when it's getting an empty glob.
It used to just return the root in that case, but it's unclear if this
would be the right thing, or maybe return everything, or nothing.
2010-05-16 22:59:36 -04:00
Eli Barzilay
400bd5eaad Fix this to account for not dropping empty strings at the edges. 2010-05-16 22:02:10 -04:00
Stevie Strickland
5d020d0765 .ss -> .rkt 2010-04-30 16:16:26 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Eli Barzilay
cf60eec875 forgot to comment this out
svn: r17550
2010-01-07 21:28:13 +00:00
Eli Barzilay
727d1542ba Create a tree from a subversion repository.
svn: r17548
2010-01-07 20:48:18 +00:00
Eli Barzilay
133f378991 Reorganize module and function names to reflect file tree work.
svn: r17547
2010-01-07 20:47:41 +00:00
Eli Barzilay
daa1c0b338 Moved FS code into plt-tree.ss
svn: r17529
2010-01-07 10:28:11 +00:00
Eli Barzilay
5fe14f70b6 * Including full path for each node in the tree -- this means that any
subtree is complete with no need to rehack its root.  Simplifies a
  bunch of code, and makes some utilities redundant.
* Using a single struct for all nodes, with subs=#f to mark files
* Names of struct is generic, no relation to actual files and dirs
* Added more tests

svn: r17527
2010-01-07 04:05:21 +00:00
Eli Barzilay
214f85ca03 don't use for/list in tree-for-each
svn: r17481
2010-01-05 12:16:02 +00:00
Eli Barzilay
01858d2989 remove old commented code, minor tweak
svn: r17480
2010-01-05 11:59:27 +00:00
Eli Barzilay
acb214f2a2 provide structs, comment headers
svn: r17479
2010-01-05 09:24:47 +00:00
Eli Barzilay
8cdb172e7f Made `not:' produce predicates tagged as negated -- and for these, an
empty directory is *not* dropped.  This finally makes the results more
intuitive, and can now also express queries like only directories,
without their content.  (See comments and new tests.)

svn: r17456
2010-01-01 05:54:47 +00:00
Eli Barzilay
53c3f8239b Use "name/" for directories, which makes things a little saner and a
little faster.

svn: r17406
2009-12-27 15:44:14 +00:00
Eli Barzilay
4ce6a630e8 Tree utilities, with fast filtering.
svn: r17403
2009-12-26 04:42:35 +00:00