summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/file.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modify the CVS_DIR_ROOT() macro to grab the parent's root if the filejfb2004-12-151-4/+4
| | | | is a directory and has no root set
* When loading directory entries, create file structures for files whichjfb2004-12-141-1/+2
| | | | have been lost but have a valid entry.
* less whitespace, more pretty. ok jfbtedu2004-12-071-12/+10
|
* Add cvs_file_copy() to create a copy of a file structure.jfb2004-12-021-1/+2
| | | | This will be used in the commit code.
* Rewrite the internals of the file management code so that we do not keepjfb2004-11-261-13/+27
| | | | | | a full path to each file we load, and cache file names so we can have multiple references to a single name. This saves a lot of memory on large trees such as /usr/src, especially on 'Makefile', 'README' and such.
* * add a flag CF_NOSYMS to avoid loading information about symbolic linksjfb2004-08-061-1/+8
| | | | | and fix 2 calls to cvs_splitpath() * unbreak cvs_file_find()
* Add fields to keep track of the file's mode and last modification timejfb2004-08-061-1/+4
|
* the CF_STAT flag is useless now, all we have to do is extract the requiredjfb2004-08-061-3/+2
| | | | information and keep it in the file structure
* Remove cruft and unbreak compilationjfb2004-08-021-6/+7
|
* Allocate a dynamic buffer for sorting. This way, we don't bork anymorejfb2004-08-021-1/+2
| | | | | | on directories with huge sets of files, and fix a bug while we're at it. When sorting failed, the files that had been removed from the list didn't get pushed back in it.
* Lots of cleanup, and add an internal version of cvs_file_get() so we canjfb2004-07-301-114/+18
| | | | | link parent directories before the file info is being retrieved. This allows us to open most of the CVS administrative files only once
* Add cvs_file_find() to find a particular file from its path within ajfb2004-07-301-2/+9
| | | | hierarchy
* Move to the new API for the client-server protocol. All functions nowjfb2004-07-301-0/+206
take a cvs root structure as parameter. This will allow for much easier management of CVS trees that make use of multiple roots.