产品领域:此功能与“产品工厂”函数相关,重点关注用于支持产品创建和生命周期管理的操作产品目录。
Product domain: This functionality is associated with "product factory" functions and focuses on implementation of an operational product catalog to support product creation and lifecycle management.
EISDIR:您使用了目录参数来调用要求文件参数的函数。
EISDIR — You called a function that requires a file argument with a directory argument.
这确保可以通过此变量中列出的目录访问脚本调用的所有程序、实用程序、函数、脚本等等。
This is to ensure that all programs, utilities, functions, scripts, and more called by the script are accessible using a listed directory in the variable.
此代码会利用递归概念多次调用主函数,直至处理完最后一个目录为止。
This code USES the concept of recursion to call the main function multiple times until the last directory has been traversed.
假设您想要一个脚本或函数来操作当前工作目录中的所有文件或目录。
Suppose you want a script or function that operates on all files or perhaps directories in the current working directory.
输出格式包含了关于目录、文件、函数、行以及块的总结信息。
The export format contains nested summary information about directories, files, functions, lines, and blocks.
文件系统操作函数:用于创建常规文件、目录和符号链接;复制和重命名文件;提供删除功能。
File system-manipulation functions: Meant to create regular files, directories, and symbolic links; copy and rename files; and provide for deletion.
报告包括了目录名以及函数名。
The report includes the directory name, file name, and function name.
函数其余部分的代码将输出文件,接着输出目录,然后是递归。
The rest of the code found in the function prints the files, then the directories, then recurses.
该表是目录列表的可视化表示,因此需要一个函数列出目录中的所有图像。
Since the table is a visual representation of a directory listing, we need a function to list all the images in a directory.
EnsureDirExists函数的这个版本像之前一样,对所需的目录进行定位,并检测它是否存在。
In this version of the function, EnsureDirExists locates the required directory and detects whether it exists, exactly as before.
对于每个目录项来说,都应该调用filldir函数。
For each directory entry, the filldir function should be called.
正如前面所解释的,可以使用主题目录中的template . php文件覆盖主题函数。
As explained earlier, we can use the template.php file in the theme directory to override theme functions.
仅通过简单地修改check函数,就可利用相同的概念来清除任何特定文件的目录。
The same concepts could be used to purge a directory of any specific files by simply modifying the check function.
现在,我们已经使用Notes会话建立了LotusDominoEmployees应用程序的行为和帮助函数,并开始查询或修改 Lotus Domino 目录。
Now that you have established the Lotus Domino Employees application's behavior, the helper functions, using the Notes session, begin querying or modifying the Lotus Domino directory.
该目录中的各个.dem文件演示了各个函数,all . dem将它们一次全部加载。
Individual.dem files in this directory demonstrate individual functions, and all.dem loads them all one at a time.
既然已经学习了如何使用readdir和stat来查找目录中的条目,那么让我们来看看演示这些函数的一些实际代码。
Now that you've read about using readdir and stat to find out about the entries of the directory, let's look at some code that demonstrates these functions in action.
在数百兆代码的源代码目录中,仅需要知道菜单项都是在 newview/llviewermenu.cpp 中的 initialize_menu_actions()函数中注册的,这样可以节省很多时间。
In a source directory with many megabytes of code, just knowing that menu items are registered in the initialize_menu_actions() function in newview/llviewermenu.cpp saves plenty of time.
比如,可以使用Vim的内置getcwd函数为当前的工作目录创建缩写,如下所示。
For example, you could use Vim's built-in getcwd function to create an abbreviation for the current working directory, like so.
为了确保目录中的数据以有效的XML格式传送,可以使用ColdFusion函数XmlFormat。
To make sure data from the catalog is transmitted in a valid XML format, you use the ColdFusion function XmlFormat.
这个插件包含三个函数、几个shell选项和popd的别名(为每个弹出操作保留目录堆栈)。
The plug-in is composed of three functions, a handful of shell options, and an alias for popd that persists the directory stack with each pop operation.
这个函数用于检查目录中给定用户的Notes证书、Internet证书和用户名是否发生了更改。
This function checks for Notes certification changes, Internet certification changes, and user renames for the given user in the directory.
此函数传递IndexWriter,即起始目录以及候选文件要匹配的文件扩展名。
This function is passed the IndexWriter, which is the directory to start from and the file extension to match candidate files against.
为了查看在代码完成工具中的add_filter与add_action函数,可以修改构建路径以添加WordPresswp - includes目录。
To be able to see the add_filter and add_action functions in code completion, you can modify the build path to add the WordPress wp-includes directory.
根据这个过程,我们通常会搜索安装Drupal的目录,寻找theme _ [tfn]函数。
So given this, we would typically search the directory under which Drupal is installed for instances of function theme_ [TFN].
覆盖的函数均在WordPress主目录中的pluggable.php文件内定义。
The functions you can override are defined in the pluggable.php file in your WordPress home directory.
使用表函数取代 db2pd实用程序简化了结果计算,因为可以通过与 SYSCAT.INDEXES目录视图结合将索引IDs (IIDs)转换成索引名。
Using this table function instead of db2pd simplifies evaluation of the results because the index IDs (IIDs) can be converted to index names by joining with the SYSCAT.INDEXES catalog view.
process_directory函数(开始于清单3,结束于清单6)读取了指定的目录,并显示了每个条目的相关信息。
The process_directory function (which starts in Listing 3 and ends in Listing 6) reads the specified directory and prints some information about each entry.
这组函数负责进行新文件和目录创建、文件删除等操作。
This set of functions is responsible for creating new files and directories, removing files, and so on.
cd函数是一个fish函数,它的操作数是一个现有的目录。
The CD function is a fish function and is aware that its operand is an existing directory.
应用推荐