lsst.daf.persistence  13.0-31-g48013df+5
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | List of all members
lsst.daf.persistence.fmtPosixRepositoryCfg.RepositoryCfgPosixFormatter Class Reference

Public Member Functions

def write
 
def read
 

Detailed Description

Definition at line 33 of file fmtPosixRepositoryCfg.py.

Member Function Documentation

def lsst.daf.persistence.fmtPosixRepositoryCfg.RepositoryCfgPosixFormatter.read (   cls,
  butlerLocation 
)

Definition at line 108 of file fmtPosixRepositoryCfg.py.

def lsst.daf.persistence.fmtPosixRepositoryCfg.RepositoryCfgPosixFormatter.write (   cls,
  cfg,
  butlerLocation 
)
Serialize a RepositoryCfg to a location.

When the location is the same as cfg.root, the RepositoryCfg is to be written at the root location of
the repository. In that case, root is not written in the serialized cfg; it is implicit in the
location of the cfg. This allows the cfg to move from machine to machine without modification.

Parameters
----------
cfg : RepositoryCfg instance
    The RepositoryCfg to be serialized.
butlerLocation : ButlerLocation
    The location to write the RepositoryCfg.

Definition at line 36 of file fmtPosixRepositoryCfg.py.


The documentation for this class was generated from the following file: