﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace LiteDB
{
    /// <summary>
    /// Storage is a special collection to store files/streams.
    /// </summary>
    public partial class FileStorage
    {
        private Collection<BsonDocument> _files;
        private Collection<BsonDocument> _chunks;
        private LiteEngine _engine;

        internal FileStorage(LiteEngine engine)
        {
            _engine = engine;
            _files = _engine.GetCollection("_files");
            _chunks = _engine.GetCollection("_chunks");
        }
    }
}
