Lines Matching defs:edir
1939 expand_dir(const Char *dir, struct Strbuf *edir, DIR **dfd, COMMAND cmd)
1947 (tilde(edir, tdir) != 0) ||
1948 !(nd = dnormalize(edir->len ? edir->s : STRdot,
1960 xprintf("\n%S %s\n", edir->len ? edir->s : (tdir ? tdir : dir),
1976 slash = edir->len != 0 && edir->s[edir->len - 1] == '/';
1977 edir->len = 0;
1978 Strbuf_append(edir, nd);
1979 if (slash != 0 && edir->s[edir->len - 1] != '/')
1980 Strbuf_append1(edir, '/');
1981 Strbuf_terminate(edir);