根据fullpath获取指定位置数据(data)
504139
public static Object getCurDataByFull4text(Map dataMap,String dept_fullpath){
		String[] paths=dept_fullpath.split("/");
		int size=paths.length;
		String dept_id="";
		if(size>0){
			dept_id=paths[size-1];
		}
		String dept_path="";
		int dept_id_size=dept_id.length();
		dept_path=(String) dept_fullpath.subSequence(0, dept_fullpath.length()-dept_id_size);
		Object deptData=null;
		Map parentMap=(Map) getParentObjByPath4text(dataMap,dept_path);
		if(parentMap!=null){
			int haveIndex=dept_id.indexOf("[");
			if(haveIndex<=0){
				deptData=parentMap.get(dept_id);
			}else{
				String real_id=dept_id.substring(0,haveIndex);
				int lastIndex=dept_id.indexOf("]");
				String real_index=dept_id.substring(haveIndex+1,lastIndex);
				Integer index_i=Integer.valueOf(real_index);
				List tempList=(List) parentMap.get(real_id);
				deptData=tempList.get(index_i);
			}
		}
		return deptData;
	}
402473
public static function init_file_direct($filename, $filesize, $path, $is_full = false, $fsencoding = '') {
        if ($is_full) {
            $dest = $path;
        }
        else {
            $dest = WEB_ROOT . $path;
        }

        $dest = self::conv_to($dest, $fsencoding);
        self::mkdir(dirname($dest));

        $dh = fopen($dest, 'w+');
        if ($dh === false) {
            throw new Exception('文件建立失败');
        }
        if (!ftruncate($dh, $filesize)) {
            unlink($dest);
            throw new Exception('文件建立失败');
        }
        fclose($dh);

        $cfg_path = $dest . '.ucfg';
        $dh = fopen($cfg_path, 'w+');
        if ($dh === false) {
            throw new Exception('文件建立失败');
        }
        fclose($dh);

        return $path;
    }
477522
def _full_path(self, path_info):
        """"""
        full_path = self.root + path_info
        if path.exists(full_path):
            return full_path
        else:
            for magic in self.magics:
                if path.exists(magic.new_path(full_path)):
                    return magic.new_path(full_path)
            else:
                return full_path
808854
private static String getFullPathName(INode[] inodes, int pos) {
    StringBuilder fullPathName = new StringBuilder();
    for (int i=1; i<=pos; i++) {
      fullPathName.append(Path.SEPARATOR_CHAR).append(inodes[i].getLocalName());
    }
    return fullPathName.toString();
  }
610709
function (path, data) {
        var i = 0,
            len = path.length;
        for (;i<len;i++) {
            if (isObject(data) && (path[i] in data)) {
                data = data[path[i]];
            } else {
                data = undefined;
                break;
            }
        }
        return data;
    }
702567
public static String fullPath(File file) {
        notNull("file", file);
        try {
            return file.getCanonicalPath();
        } catch (IOException e) {
            return file.getAbsolutePath();
        }
    }
375458
public String getFullMobilePath() {
		String path = null;
		if (this.mobilePath != null) {
			path = (this.rootPath == null ? this.mobilePath : getCleanPath(this.rootPath) + this.mobilePath);
		}
		return path;
	}
739836
def make_full_qualified_url(self, path: str) -> str:
        
        return self.application_uri.rstrip('/') + '/' + path.lstrip('/')
1363216
static String getFullPathName(byte[][] names) {
    StringBuilder fullPathName = new StringBuilder();
    for (int i = 1; i < names.length; i++) {
      byte[] name = names[i];
      fullPathName.append(Path.SEPARATOR_CHAR)
        .append(DFSUtil.bytes2String(name));
    }
    return fullPathName.toString();
  }
85843
function getData(file) {
		var relativePath, pathData;

		relativePath = path.relative(projectConfig.paths.src.views.layouts, file.path);
		relativePath = relativePath.replace('.' + taskConfig.extension, '');

		pathData = dataSource.getDataForPath(relativePath);
		pathData = defaultData.apply(pathData);

		return pathData;
	}
237298
def full_path_str(self):
        ''''''
        with self._mutex:
            if self._parent:
                if self._parent._name == '/':
                    return self._parent.full_path_str + self._name
                else:
                    return self._parent.full_path_str + '/' + self._name
            else:
                return self._name
163336
function isForwardByArray (to, from) {
  // 根据 fullPath 判断当前页面是否访问过，如果访问过，则属于返回

  let index = HISTORY_STACK.indexOf(to.fullPath)
  if (index !== -1) {
    HISTORY_STACK.length = index + 1
    return false
  }

  return true
}
902146
protected static String getPath(String fullPath)
   {
      int sl = fullPath.lastIndexOf('/');
      return sl > 0 ? "/" + fullPath.substring(0, sl) : "/";
   }
319157
def full_path(self):
        ''''''
        with self._mutex:
            if self._parent:
                return self._parent.full_path + [self._name]
            else:
                return [self._name]
371592
def get_path(self, prefix=None, filename=None):
        """"""
        prefix = prefix or settings.FLOW_EXECUTOR['DATA_DIR']

        path = os.path.join(prefix, self.subpath)
        if filename:
            path = os.path.join(path, filename)

        return path
15887
def find_data(path, warn=True):
    """"""
    full_path = os.path.join(get_data_dir(), path)
    if warn and not os.path.isfile(full_path):
        for package in PACKAGES:
            if path == package.path:
                log.warn('%s doesn\'t exist. Run `cde data download` to get it.' % path)
                break
    return full_path
876627
private static String getFullPath(final ContextModel model, final String path) {
		String fullPath = path.trim();
		if (model.getContextName().length() > 0) {
			fullPath = "/" + model.getContextName();
			if (!"/".equals(path.trim())) {
				if ((!(fullPath.endsWith("/"))) && (!(path.startsWith("/")))) {
					fullPath += "/";
				}
				fullPath = fullPath + path;
			}
		}
		return fullPath;
	}