Go to the source code of this file.
Go to the SVN repository for this file.
string g_GetPasswordFromConsole (const string &prompt) Get a password without echoing the user input. More...Look for an NCBI application data file or directory of the given name and type; in general, searches directories listed in the registry entry [NCBI] DataPath (which the environment variable NCBI_DATA_PATH may override) followed by [NCBI] Data (or NCBI_DATA).
(Passing an absolute path bypasses this step.) NCBI_DATA_PATH and [NCBI] DataPath may both list multiple directories, delimited as per PATH (by ';' on Windows, ':' on Unix).
Definition at line 139 of file util_misc.cpp.
References eFollowLinks, eIgnoreLinks, CDirEntry::eLink, CDirEntry::Exists(), NStr::fSplit_MergeDelimiters, NStr::fSplit_Truncate, CDirEntry::GetPath(), CDirEntry::GetType(), CDirEntry::IsAbsolutePath(), ITERATE, kEmptyStr, CDirEntry::MakePath(), CDirEntry::MatchesMask(), CDirEntry::Reset(), s_IgnoredDataFiles, and NStr::Split().
Referenced by BlastFindMatrixPath(), s_AddOneDataFile(), s_FindUnicodeToAscii(), s_InitializeECNumberMaps(), s_InitializeInstitutionCollectionCodeMaps(), s_InitializeOrgRefMap(), s_InitializeStructuredCommentRules(), SAccGuide::SAccGuide(), and CLatLonMap_Base::x_InitFromFile().
◆ g_GetPasswordFromConsole()Get a password without echoing the user input.
Definition at line 62 of file util_misc.cpp.
References NCBI_THROW, readpassphrase, RPP_ECHO_OFF, RPP_REQUIRE_TTY, and string.
◆ g_IgnoreDataFile() ◆ g_IsDataFileOld() [1/2] ◆ g_IsDataFileOld() [2/2]Check whether the given file (a full path, as returned by g_FindDataFile) is older than a built-in version with the specified timestamp.
Definition at line 221 of file util_misc.cpp.
References CDirEntry::GetTime().
◆ NCBI_PARAM_DECL() [1/2] ◆ NCBI_PARAM_DECL() [2/2] ◆ NCBI_PARAM_DEF() ◆ NCBI_PARAM_DEF_EX() NCBI_PARAM_DEF_EX ( string , NCBI , DataPath , "" , 0 , NCBI_DATA_PATH ) ◆ NCBI_PARAM_TYPE() [1/2] typedef NCBI_PARAM_TYPE ( NCBI , Data ) ◆ NCBI_PARAM_TYPE() [2/2] typedef NCBI_PARAM_TYPE ( NCBI , DataPath ) ◆ s_IgnoredDataFilesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4