package com.microservices.cms.utils;

/**
 * @author otto
 */
public class CmsConstants {
    public final static String KEEP_FILE_NAME = ".keep";
    public final static String MARKDOWN_SUFFIX = ".md";
    public final static String DIR_SEPARATOR = "/";
    public final static String AUDIT_BRANCH_PREFIX = "doc_tmp_";
    public final static String BRANCH_MASTER = "master";
    /**
     * todo:此字符在当前GItLink中会被转义成/，导致数据异常，需等待GitLink修复后使用
     * 将文件或文件夹名称中/替换为%2F,防止基于/误创建文件夹
     */
    public final static String DIR_SEPARATOR_REPLACE = "%2F";
    public final static String ENTRY_TYPE_DIR_KEY = "dir";
    public final static String ENTRY_TYPE_FILE_KEY = "file";

    /**
     * 否
     */
    public final static String FALSE = "0";
    /**
     * 是
     */
    public final static String TRUE = "1";
}
