GitSharp.Core.FileBasedConfig.load C# (CSharp) Method

load() public method

public load ( ) : void
return void
        public void load()
        {
            try
            {
                fromText(RawParseUtils.decode(IO.ReadFully(getFile())));
            }
            catch (FileNotFoundException)
            {
                clear();
            }
            catch (DirectoryNotFoundException)
            {
                clear();
            }
            catch (IOException e)
            {
                var e2 = new IOException("Cannot read " + getFile(), e);
                throw e2;
            }
            catch (ConfigInvalidException e)
            {
                throw new ConfigInvalidException("Cannot read " + getFile(), e);
            }
        }