| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

MCFileSupport

Page history last edited by keith_hodges 12 years, 7 months ago

External Files Support

================

 

The default implementation of the two methods below considers all files

and directories (with their contents) matching the package name to be

part of the package.

 

#externalFiles

#externalFilesMatches

 

e.g. package name 'Release'.

 

files matching would include:

 

Release.text

Release/Introduction.text

Release/Tutorial/ch1.text

 

External Files Support - Monticello

========================================

*Only file based repositories (i.e. .mcz files) are supported at present

 

Since your external files will change far less than your code, it is

recommended that you

use a separate package to manage files in order to save space and time.

 

Files are included in the .mcz (which is a standard zip archive)

as files/* according to the pattern files/<uuid>/<path>/<to>/<file>

 

*note: the uuid will change with every snapshot, it is unique to that

file in that snapshot

*note: in changes browsers the file is considered to be changed if the

fileSize has changed.

 

Snapshotting a package with files uses a temporary directory in

package-cache/files

The #flushCachedVersions menu item deletes this directory.

Comments (0)

You don't have permission to comment on this page.