import {CombineFilesCache} from 'atscm/src/lib/transform/SplittingTransformer.js'CombineFilesCache
Determines which files are needed to create a combined file and stores these files as long as some of them are missing.
Test:
Constructor Summary
| Public Constructor | ||
| public |
Creates a new DisplayCache. |
|
Member Summary
| Private Members | ||
| private |
The files caches for the given path. |
|
| private |
The extensions of the files required. |
|
Method Summary
| Public Methods | ||
| public |
gotAllFiles(file: vinyl~File, callback: function(err: ?Error, files: Map<String, vinyl~File>)) Checks if, when |
|
| public |
missingExtensions(dirname: string): String[] Returns the extensions of the missing files for the given |
|
Public Constructors
Private Members
Public Methods
public gotAllFiles(file: vinyl~File, callback: function(err: ?Error, files: Map<String, vinyl~File>)) source
Checks if, when file is added, all required files are cached.
Params:
| Name | Type | Attribute | Description |
| file | vinyl~File | The file to add before checking. |
|
| callback | function(err: ?Error, files: Map<String, vinyl~File>) | Called with the error
that occured while checking or all files related to |
