Documentation
¶
Index ¶
- Variables
- func InitNetworkSettings()
- type DpRepo
- func (r *DpRepo) CreateDir(m *model.Model, parentPath, dirName string) bool
- func (r *DpRepo) CreateDirByPath(m *model.Model, dirPath string) bool
- func (r *DpRepo) Delete(m *model.Model, parentPath, fileName string) bool
- func (r *DpRepo) EnterCurrentDirectory(m *model.Model)
- func (r *DpRepo) GetFile(m *model.Model, parentPath, fileName string) []byte
- func (r *DpRepo) GetFileByPath(m *model.Model, dpPath string) []byte
- func (r *DpRepo) GetFileName(filePath string) string
- func (r *DpRepo) GetFilePath(parentPath, relativePath string) string
- func (r *DpRepo) GetFileType(m *model.Model, parentPath, fileName string) byte
- func (r *DpRepo) GetFileTypeFromPath(m *model.Model, filePath string) byte
- func (r *DpRepo) IsEmptyDir(m *model.Model, parentPath, dirName string) bool
- func (r *DpRepo) ListFiles(m *model.Model, dirPath string) []model.Item
- func (r *DpRepo) Load(m *model.Model)
- func (r *DpRepo) LoadCurrent(m *model.Model)
- func (r *DpRepo) UpdateFile(m *model.Model, parentPath, fileName string, newFileContent []byte) bool
- func (r *DpRepo) UpdateFileByPath(m *model.Model, dpPath string, newFileContent []byte) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var Repo = DpRepo{/* contains filtered or unexported fields */}
Functions ¶
func InitNetworkSettings ¶
func InitNetworkSettings()
Types ¶
type DpRepo ¶
type DpRepo struct {
// contains filtered or unexported fields
}
func (*DpRepo) CreateDirByPath ¶
func (*DpRepo) EnterCurrentDirectory ¶
func (*DpRepo) GetFileName ¶
func (*DpRepo) GetFilePath ¶
func (*DpRepo) GetFileType ¶
func (*DpRepo) GetFileTypeFromPath ¶
func (*DpRepo) IsEmptyDir ¶
func (*DpRepo) LoadCurrent ¶
func (*DpRepo) UpdateFile ¶
Click to show internal directories.
Click to hide internal directories.