摘要 |
A method and computer system for determining an existence of a file and, possibly, information related to the file are provided. The method and system include providing a file name, generating a file designator from the file name, and generating a hash value from the file name. The hash value is used to index a cache containing other file designators that meet a certain criterion, and if no entry is found in the cache, an operating system call is performed. If an entry is found in the cache, the entry of the cache is compared with the generated file designator. If the entry and the generated file designator are not the same, an operating system call is performed. If the entry and the generated file designator are the same, this indicates that the criterion is satisfied.
|