ae.sys.d.cache

Code to manage cached D component builds.

Members

Classes

DCache
class DCache

Abstract base class.

DirCache
class DirCache

Store cached builds in subdirectories. Optimize things by hard-linking identical files.

DirCacheBase
class DirCacheBase

Base class for a simple directory store.

GitCache
class GitCache

Cache backed by a git repository. Git's packfiles provide an efficient way to store binary files with small differences, however adding and extracting items is a little slower.

TempCache
class TempCache

The bare minimum required for ae.sys.d to work. Implement a temporary cache which is deleted as soon as it's no longer immediately needed.

Functions

createCache
DCache createCache(string name, string cacheDir, ICacheHost cacheHost)

Create a DCache instance according to the given name.

Interfaces

ICacheHost
interface ICacheHost

An interface that needs to be implemented by DCache users.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>