about summary refs log tree commit diff
path: root/src/values.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-06T14·20+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-06T14·20+0000
commit82e3d8fafe0ac08589349094e3ea11022d995959 (patch)
treed085bac2628f3ead46397e8d94c264991ca45232 /src/values.cc
parentf826e432aa442e569faaf3cb04d83bfa28bcf260 (diff)
* Got Fix working again.
Diffstat (limited to 'src/values.cc')
-rw-r--r--src/values.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/values.cc b/src/values.cc
index fe65b977ea..5db04036c4 100644
--- a/src/values.cc
+++ b/src/values.cc
@@ -34,7 +34,7 @@ struct CopySource : RestoreSource
 };
 
 
-void copyFile(string src, string dst)
+void copyPath(string src, string dst)
 {
     /* Unfortunately C++ doesn't support coprocedures, so we have no
        nice way to chain CopySink and CopySource together.  Instead we
@@ -99,7 +99,7 @@ void addToStore(string srcPath, string & dstPath, Hash & hash)
     string baseName = baseNameOf(srcPath);
     dstPath = nixStore + "/" + (string) hash + "-" + baseName;
 
-    copyFile(srcPath, dstPath);
+    copyPath(srcPath, dstPath);
 
     setDB(nixDB, dbRefs, hash, dstPath);
 }