aboutsummaryrefslogtreecommitdiffhomepage
path: root/path.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-18 21:56:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-18 21:56:30 -0800
commitca1c8243c8beadf1ba985c86237c894aef823b1f (patch)
tree7217a30848f8ed1fb0550942e4aa4485f987dfe2 /path.h
parent14b3a5be56a99281f2a4c75f7097fd842f922242 (diff)
Fix to prevent autosuggesting cd'ing to the current working directory
Diffstat (limited to 'path.h')
-rw-r--r--path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/path.h b/path.h
index 86a2bf03..e2f47f84 100644
--- a/path.h
+++ b/path.h
@@ -65,6 +65,9 @@ void path_make_canonical( wcstring &path );
bool path_is_valid(const wcstring &path, const wcstring &working_directory);
+/** Returns whether the two paths refer to the same file */
+bool paths_are_same_file(const wcstring &path1, const wcstring &path2);
+
wcstring get_working_directory(void);
#endif