Bari.Plugins.FSRepository.Model.LocalFileSystemRepositoryAccess.Exists C# (CSharp) Method

Exists() public method

Checks if the repository contains a valid file in the given path
public Exists ( string path ) : bool
path string Path to the file
return bool
        public bool Exists(string path)
        {
            if (Path.GetFileName(path) == "*.*")
                return Exists(Path.GetDirectoryName(path));
            else
            {
                if (Path.IsPathRooted(path))
                    return File.Exists(path) || Directory.Exists(path);
                else
                    return suiteRoot.Exists(path);
            }
        }