Lucene.Net.Store.Azure.AzureDirectory.FileExists C# (CSharp) Method

FileExists() public method

Returns true if a file with the given name exists.
public FileExists ( String name ) : bool
name String
return bool
        public override bool FileExists(String name)
        {
            // this always comes from the server
            try
            {
                return _blobContainer.GetBlockBlobReference(_rootFolder + name).Exists();
            }
            catch (Exception)
            {
                return false;
            }
        }