Example #1
0
        public string GetChunkAbsolutePath(EcfFileChunkDefinition chunk)
        {
            Contract.Requires(chunk != null && chunk.Parent == this);

            Contract.Assert(WorkingDirectory.IsNotNullOrEmpty());
            string abs_path = Path.Combine(WorkingDirectory, chunk.FilePath);

            abs_path = Path.GetFullPath(abs_path);
            return(abs_path);
        }