// GetPathList returns list of all pathes for this adapter
GetPathList returns list of all pathes for this adapter
// GetPathList returns list of all pathes for this adapter
func (adapter *BaseAdapter) GetPathList() (pathList []string, err error) {
	adapter.Lock()
	defer adapter.Unlock()
	pathList = make([]string, 0, len(adapter.Data))
	for path := range adapter.Data {
		pathList = append(pathList, path)
	}
	return pathList, nil
}
func ( adapter * BaseAdapter ) GetPathList ( ) ( pathList [ ] string , err error ) { adapter . Lock ( ) defer adapter . Unlock ( ) pathList = make ( [ ] string , 0 , len ( adapter . Data ) ) for path := range adapter . Data { pathList = append ( pathList , path ) } return pathList , nil }
GetPathList returns list of all pathes for this adapter
GetPathList returns list of all pathes for this adapter