Versions in this module Expand all Collapse all v0 v0.6.0 Nov 27, 2021 Changes in this version + const ErrorTypeConflict + const ErrorTypeDisallowedName + const ErrorTypeInsufficientSpace + const ErrorTypeInvalidEntryDataFormat + const ErrorTypeNoPermission + const ErrorTypeOther + const ErrorTypePathNotFound + const FileSystemTypeModel + func NewEntry(path string, node em_file.Node) es_filesystem.Entry + func NewError(err error, errType int) es_filesystem.FileSystemError + func NewFileSystem(root em_file.Node) es_filesystem.FileSystem + func NewPath(path string) es_filesystem.Path + type Entry struct + func (z Entry) AsData() es_filesystem.EntryData + func (z Entry) ContentHash() (string, es_filesystem.FileSystemError) + func (z Entry) Path() es_filesystem.Path + type FileSystemError struct + func (z FileSystemError) Error() string + func (z FileSystemError) IsConflict() bool + func (z FileSystemError) IsDisallowedName() bool + func (z FileSystemError) IsInsufficientSpace() bool + func (z FileSystemError) IsInvalidEntryDataFormat() bool + func (z FileSystemError) IsMockError() bool + func (z FileSystemError) IsNoPermission() bool + func (z FileSystemError) IsPathNotFound() bool + type Path struct + func (z Path) Ancestor() es_filesystem.Path + func (z Path) AsData() es_filesystem.PathData + func (z Path) Base() string + func (z Path) Descendant(pathFragment ...string) es_filesystem.Path + func (z Path) IsRoot() bool + func (z Path) Path() string + func (z Path) Rel(path es_filesystem.Path) (string, es_filesystem.FileSystemError) + func (z Path) Shard() es_filesystem.Shard