Skip to content
Snippets Groups Projects
Commit 23af08b9 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

bug 1207:

Make findFileSys a member function
parent a3690b06
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
#include <lofar_config.h>
#include <Common/lofar_vector.h>
#include <Common/lofar_string.h>
#include <MWCommon/ClusterDesc.h>
#include <ms/MeasurementSets/MeasurementSet.h>
#include <casa/Arrays/Vector.h>
......@@ -65,6 +65,10 @@ namespace LOFAR {
static void getDataFileInfo (casa::MS& ms, string& name, bool& regular,
vector<int>& tileShape,
vector<int>& cubeShape);
// Find the file system on which the given file is located.
static string findFileSys (const std::string& fileName,
const CEP::ClusterDesc& cdesc);
};
}
......
......@@ -141,7 +141,8 @@ void VdsMaker::getDataFileInfo (MS& ms, string& name, bool& regular,
}
}
string findFileSys (const std::string& fileName, const ClusterDesc& cdesc)
string VdsMaker::findFileSys (const std::string& fileName,
const ClusterDesc& cdesc)
{
// Find the file system by looking for a matching mountpoint.
const std::vector<NodeDesc>& nodes = cdesc.getNodes();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment