~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-updates

« back to all changes in this revision

Viewing changes to dir.h

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-04-22 13:31:05 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20070422133105-tkmhz328g2p0epz1
Tags: 1:1.5.1.2-1
* new upstream point release.
* debian/changelog.upstream: upstream changes taken from mailing list
  announcement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
 
15
15
struct dir_entry {
16
 
        int len;
 
16
        unsigned int ignored : 1;
 
17
        unsigned int ignored_dir : 1;
 
18
        unsigned int len : 30;
17
19
        char name[FLEX_ARRAY]; /* more */
18
20
};
19
21
 
40
42
};
41
43
 
42
44
extern int common_prefix(const char **pathspec);
 
45
 
 
46
#define MATCHED_RECURSIVELY 1
 
47
#define MATCHED_FNMATCH 2
 
48
#define MATCHED_EXACTLY 3
43
49
extern int match_pathspec(const char **pathspec, const char *name, int namelen, int prefix, char *seen);
44
50
 
45
51
extern int read_directory(struct dir_struct *, const char *path, const char *base, int baselen);
 
52
extern int push_exclude_per_directory(struct dir_struct *, const char *, int);
 
53
extern void pop_exclude_per_directory(struct dir_struct *, int);
 
54
 
46
55
extern int excluded(struct dir_struct *, const char *);
47
56
extern void add_excludes_from_file(struct dir_struct *, const char *fname);
48
57
extern void add_exclude(const char *string, const char *base,
49
58
                        int baselen, struct exclude_list *which);
50
59
extern int file_exists(const char *);
 
60
extern struct dir_entry *dir_add_name(struct dir_struct *dir, const char *pathname, int len);
51
61
 
52
62
#endif