Azavea.NijPredictivePolicing.ACSAlchemistLibrary.FileLocator.ExpandZipFile C# (CSharp) Method

ExpandZipFile() public static method

wrapper function for unzipping a file to a destination
public static ExpandZipFile ( string sourceFile, string destPath ) : bool
sourceFile string
destPath string
return bool
        public static bool ExpandZipFile(string sourceFile, string destPath)
        {
            try
            {
                return FileUtilities.UnzipFileTo(destPath, sourceFile);
            }
            catch (Exception ex)
            {
                _log.Error("Error encountered while decompressing file", ex);
            }
            return false;
        }