summaryrefslogtreecommitdiff
path: root/src/dir.h
Commit message (Collapse)AuthorAgeFilesLines
* Move path related functions from fileops to pathRussell Belfer2012-01-171-47/+0
| | | | | | | | | | | This takes all of the functions that look up simple data about paths (such as `git_futils_isdir`) and moves them over to path.h (becoming `git_path_isdir`). This leaves fileops.h just with functions that actually manipulate the filesystem or look at the file contents in some way. As part of this, the dir.h header which is really just for win32 support was moved into win32 (with some minor changes).
* Fix opendir/readdir and friends on Win32 to use Unicodeutf8-paths-win32Paul Betts2011-09-191-1/+1
|
* Tabify everythingVicent Marti2011-09-191-7/+7
| | | | | | There were quite a few places were spaces were being used instead of tabs. Try to catch them all. This should hopefully not break anything. Except for `git blame`. Oh well.
* Cleanup legal dataVicent Marti2011-09-191-0/+6
| | | | | | | | | | 1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
* Revert "Properly export all external symbols in Win32"Vicent Marti2010-12-231-4/+4
| | | | | | | It is not a good idea to export these internal symbols now that they are not required to run the unit tests. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* Properly export all external symbols in Win32Vicent Marti2010-12-221-4/+4
| | | | | | | Some external functions were not being exported because they were using the 'extern' keyword instead of the generic GIT_EXTERN() macro. Signed-off-by: Vicent Marti <tanoku@gmail.com>
* win32: Add a 'git__' prefix to the directory reading routinesRamsay Jones2010-01-201-8/+17
| | | | | | | | This reduces the global namespace pollution and allows for a win32 compiler (eg. Open Watcom) to provide these routines in a header other than <dirent.h> (eg in <io.h>). Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
* win32: Add <dirent.h> directory reading routinesRamsay Jones2009-03-201-0/+32
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>