RepositoryPathHelper Class |
Namespace: CMS.ContinuousIntegration.Internal
public class RepositoryPathHelper
The RepositoryPathHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | RepositoryPathHelper |
Constructor
|
Name | Description | |
---|---|---|
![]() ![]() | FILE_NAME_HASH_LENGTH |
Length of hash used when appending regular file name with a hash. The file name's length is truncated to (MAX_FILE_NAME_LENGTH - FILE_NAME_HASH_LENGTH - 1).
One character is needed for delimiter. It is assumed that portion of hash is unique enough to avoid collisions.
|
![]() ![]() | GROUP_FILE_NAME_HASH_LENGTH |
Length of hash used when appending group file name with a hash. The file name's length is truncated to (MAX_GROUP_FILE_NAME_LENGTH - GROUP_FILE_NAME_HASH_LENGTH - 1).
One character is needed for delimiter. It is assumed that portion of hash is unique enough to avoid collisions.
|
![]() ![]() | GROUP_FOLDER_SUFFIX_HASH_LENGTH |
Length of hash used when appending group folder suffix with a hash. The suffix's length is truncated to (MAX_GROUP_FOLDER_SUFFIX_LENGTH - GROUP_FOLDER_SUFFIX_HASH_LENGTH - 1).
One character is needed for delimiter. It is assumed that portion of hash is unique enough to avoid collisions.
|
![]() ![]() | GROUP_SUFFIX_DELIMITER |
Delimiter between hashed name and group suffix (used when creating name of folder for grouped files).
|
![]() ![]() | MAX_FILE_NAME_LENGTH |
Maximum length of regular file name (without extension).
|
![]() ![]() | MAX_GROUP_FILE_NAME_LENGTH |
Maximum length of group file name (without extension).
|
![]() ![]() | MAX_GROUP_FOLDER_SUFFIX_LENGTH |
Maximum length of group folder suffix.
|
![]() | mRepositoryConfiguration |
Configuration of a file system repository.
|
![]() | mTranslationHelper |
Translation helper object. Used in serialization to optimize database calls.
|
Name | Description | |
---|---|---|
![]() | GetExistingSerializationFiles |
Gets relative paths to the serialization files of given baseInfo stored in repository.
|
![]() | GetFileName |
Gets name of the file where serialized baseInfo will be stored.
|
![]() | GetFilePath(BaseInfo) |
Gets relative path to file where serialized baseInfo is to be stored (within the file system repository).
|
![]() | GetFilePath(BaseInfo, String, String, Boolean) |
Gets relative path to group file where serialized data are to be stored (within the file system repository). A group of files
is used when serializing one base info to multiple files.
|
![]() | GetGroupFileName |
Gets name of the group file from desiredGroupFileName. Group file name is transformed
in order to contain file system safe characters. The group file name is at most MAX_GROUP_FILE_NAME_LENGTH characters in length.
|
![]() | GetGroupFolderSuffix |
Gets file system safe representation of group suffix (without the GROUP_SUFFIX_DELIMITER).
The group folder suffix is at most MAX_GROUP_FOLDER_SUFFIX_LENGTH long.
|
![]() | GetPathWithoutExtension |
Gets path without the file extension.
|
![]() | GetRelativeFolderPath |
Gets relative path to folder where serialized baseInfo is to be stored.
|
![]() | GetSeparatedFieldPath(String, String) |
Gets relative path without extension to separated field file where field's data are to be stored (within the file system repository).
|
![]() | GetSeparatedFieldPath(BaseInfo, String, SeparatedField) |
Gets relative path of separate field's file.
|
![]() | GetSerializationFileExtension |
Gets file extension (including the '.' character) of a file in repository identified by its relative path without extension.
|