/dports/games/spring/spring_98.0/rts/System/FileSystem/ |
H A D | CacheDir.cpp | 11 const std::string CacheDir::tagFile_name = "CACHEDIR.TAG"; 12 const std::string CacheDir::tagFile_content = "Signature: 8a477f597d28d172789f06886806bc55"; 13 const size_t CacheDir::tagFile_content_size = 43; 19 bool CacheDir::IsCacheDir(const std::string& dir) { in IsCacheDir() 22 …bool isTagged = CacheDir::FileContentStartsWith(cacheFile, CacheDir::tagFile_content, CacheDir::ta… in IsCacheDir() 31 const bool currentCacheState = CacheDir::IsCacheDir(dir); in SetCacheDir() 37 requestedStatePresent = CacheDir::WriteCacheTagFile(cacheFile, additionalText); in SetCacheDir() 44 requestedStatePresent = CacheDir::WriteCacheTagFile(cacheFile, additionalText); in SetCacheDir() 83 ret = fputs(CacheDir::tagFile_content.c_str(), fileH); in WriteCacheTagFile() 97 std::string CacheDir::GetCacheTagFilePath(const std::string& dir) { in GetCacheTagFilePath() [all …]
|
H A D | CacheDir.h | 23 class CacheDir { 26 CacheDir() {}; in CacheDir() function 50 const std::string& additionalText = CacheDir::defaultAdditionalText,
|
/dports/textproc/ripgrep-all/ripgrep-all-0.9.6/cargo-crates/cachedir-0.1.1/src/ |
H A D | traits_impls.rs | 1 use super::CacheDir; 10 impl ops::Deref for CacheDir { implementation 18 impl convert::Into<path::PathBuf> for CacheDir { implementation 24 impl convert::Into<ffi::OsString> for CacheDir { implementation 30 impl Borrow<path::PathBuf> for CacheDir { implementation 36 impl Borrow<path::Path> for CacheDir { implementation 42 impl Borrow<ffi::OsStr> for CacheDir { implementation 48 impl AsRef<path::PathBuf> for CacheDir { implementation 54 impl AsRef<path::Path> for CacheDir { implementation 60 impl AsRef<ffi::OsStr> for CacheDir { implementation [all …]
|
H A D | lib.rs | 351 pub struct CacheDir { struct 355 impl CacheDir { argument 723 pub fn get_cache_dir(&self) -> io::Result<CacheDir> { in get_cache_dir() argument 725 Ok(path_buf) => Ok( CacheDir { path: path_buf } ), in get_cache_dir()
|
/dports/ports-mgmt/p5-FreeBSD-Portindex/FreeBSD-Portindex-3.6/script/ |
H A D | cache-init | 63 mkdir $Config{CacheDir}, 0755 65 unless ( -d $Config{CacheDir} ); 67 chdir $Config{CacheDir} 68 or die "$0: Can't change directory to ", $Config{CacheDir}, " -- $!"; 79 -Home => $Config{CacheDir},
|
/dports/japanese/hns/hns-2.19.9/public_html/diary/lib/HNS/ |
H A D | Cache.pm | 51 my $CacheDir = $HNS::System::CacheDir; 55 opendir(DIR, $CacheDir); 64 opendir(DIR, "$CacheDir/$year"); 66 unlink "$CacheDir/$year/$file" if ($file ne "." && $file ne ".."); 68 rmdir "$CacheDir/$year"; 69 print "Year $year cache files in $CacheDir/$year cleared!<br>\n"
|
/dports/security/vuls/vuls-0.13.7/vendor/github.com/aquasecurity/trivy/internal/server/ |
H A D | run.go | 31 utils.SetCacheDir(c.CacheDir) 32 log.Logger.Debugf("cache dir: %s", utils.CacheDir()) 34 fsCache, err := cache.NewFSCache(utils.CacheDir()) 46 if err = operation.DownloadDB(c.AppVersion, c.CacheDir, true, false, c.SkipUpdate); err != nil { 54 if err = db.Init(c.CacheDir); err != nil {
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/apparentlymart/go-userdirs/userdirs/ |
H A D | app_unix_test.go | 36 CacheDir: "/home/placeholder/.cache/spline-reticulator", 59 CacheDir: "/cache/over/here/spline-reticulator", 81 CacheDir: "/home/placeholder/.cache/spline-reticulator", 127 CacheDir: "/home/travis/.cache/spline-reticulator",
|
H A D | app_unix.go | 28 ret.CacheDir = filepath.Join(ret.CacheDir, subDir) 36 CacheDir: xdgbase.CacheHome(),
|
/dports/misc/mnn/MNN-1.2.0/codegen/jit/ |
H A D | LLVMJit.cpp | 26 sys::fs::current_path(CacheDir); in MCJITObjectCache() 27 sys::path::append(CacheDir, "mnn_object_cache"); in MCJITObjectCache() 33 SmallString<128> IRCacheFile = CacheDir; in isCached() 43 SmallString<128>IRCacheFile = CacheDir; in notifyObjectCompiled() 45 if (!sys::fs::exists(CacheDir.str()) && sys::fs::create_directory(CacheDir.str())) { in notifyObjectCompiled() 59 SmallString<128> IRCacheFile = CacheDir; in getObject() 69 SmallString<128> CacheDir; member in MCJITObjectCache
|
/dports/www/squid/squid-4.15/tools/purge/ |
H A D | conffile.cc | 87 CacheDir cd; in readConfigFile() 124 cd.type = CacheDir::CDT_UFS; in readConfigFile() 133 cd.type = CacheDir::CDT_UFS; in readConfigFile() 135 cd.type = CacheDir::CDT_AUFS; in readConfigFile() 137 cd.type = CacheDir::CDT_DISKD; in readConfigFile() 139 cd.type = CacheDir::CDT_OTHER; in readConfigFile()
|
/dports/www/squidpurge/purge/ |
H A D | conffile.cc | 86 CacheDir cd; in readConfigFile() 122 cd.type = CacheDir::CDT_UFS; in readConfigFile() 130 cd.type = CacheDir::CDT_UFS; in readConfigFile() 132 cd.type = CacheDir::CDT_AUFS; in readConfigFile() 134 cd.type = CacheDir::CDT_DISKD; in readConfigFile() 136 cd.type = CacheDir::CDT_OTHER; in readConfigFile()
|
/dports/x11-toolkits/ctk/CTK-2018-10-29/Libs/CommandLineModules/Core/ |
H A D | ctkCmdLineModuleCache.cpp | 41 QString CacheDir; member 50 …QDirIterator dirIter(this->CacheDir, QStringList() << "*.timestamp", QDir::Files | QDir::Readable); in LoadTimeStamps() 68 return this->CacheDir + "/" + QString::number(qHash(moduleLocation)) + ".timestamp"; in timeStampFileName() 73 return this->CacheDir + "/" + QString::number(qHash(moduleLocation)) + ".xml"; in xmlFileName() 80 d->CacheDir = cacheDir; in ctkCmdLineModuleCache() 91 return d->CacheDir; in cacheDir()
|
/dports/devel/p5-Cache-AgainstFile/Cache-AgainstFile-1.016/lib/Cache/AgainstFile/ |
H A D | Storable.pm | 39 …my $dir = $self->{options}->{CacheDir} || croak("You must supply a cache directory for caching wit… 64 my $cache_dir = $self->{options}{CacheDir}; 120 my $cache_dir = $self->{options}{CacheDir}; 133 my $cache_dir = $self->{options}{CacheDir}; 144 my $cache_dir = $self->{options}{CacheDir}; 157 my $cache_dir = $self->{options}{CacheDir}; 180 my $cache_dir = $self->{options}{CacheDir};
|
/dports/security/vuls/vuls-0.13.7/vendor/github.com/aquasecurity/trivy/internal/artifact/ |
H A D | run.go | 31 utils.SetCacheDir(c.CacheDir) 32 cacheClient, err := cache.NewFSCache(c.CacheDir) 39 log.Logger.Debugf("cache dir: %s", utils.CacheDir()) 50 …if err = operation.DownloadDB(c.AppVersion, c.CacheDir, noProgress, c.Light, c.SkipUpdate); err !=… 58 if err = db.Init(c.CacheDir); err != nil {
|
/dports/sysutils/istio/istio-1.6.7/vendor/helm.sh/helm/v3/pkg/plugin/installer/ |
H A D | http_installer.go | 38 CacheDir string member 88 CacheDir: helmpath.CachePath("plugins", key), 121 err = i.extractor.Extract(pluginData, i.CacheDir) 126 if !isPlugin(i.CacheDir) { 130 src, err := filepath.Abs(i.CacheDir)
|
/dports/security/keybase/client-v5.7.1/go/libkb/ |
H A D | home.go | 34 CacheDir() string methodSpec 149 func (x XdgPosix) CacheDir() string { return x.dirHelper("XDG_CACHE_HOME", ".cache") } func 150 func (x XdgPosix) SharedCacheDir() string { return x.CacheDir() } 176 return x.CacheDir() 219 func (d Darwin) CacheDir() string { func 245 func (d Darwin) RuntimeDir() string { return d.CacheDir() } 262 return d.CacheDir() 322 func (w Win32) CacheDir() string { return w.Home(false) } func 323 func (w Win32) SharedCacheDir() string { return w.CacheDir() }
|
/dports/devel/rebar3/rebar3-3.17.0/test/ |
H A D | rebar_pkg_alias_SUITE.erl | 190 CacheDir = filename:join([CacheRoot, "hex", "com", "test", "packages"]), 193 {ChkGood, EtagGood} = rebar_test_utils:package_app(AppDir, CacheDir, "goodpkg", "1.0.0"), 210 ok = ets:tab2file(Tid, filename:join([CacheDir, "registry"])), 217 meck:expect(rebar_packages, registry_dir, fun(_) -> {ok, CacheDir} end), 218 meck:expect(rebar_packages, package_dir, fun(_, _) -> {ok, CacheDir} end), 263 {cache_dir, CacheDir}, 279 CacheDir = filename:join([CacheRoot, "hex", "com", "test", "packages"]), 280 filelib:ensure_dir(filename:join([CacheDir, "registry"])), 282 rebar_test_utils:package_app(AppDir, CacheDir, PkgName, "1.0.0").
|
/dports/sysutils/helm/helm-3.5.2/pkg/plugin/installer/ |
H A D | http_installer.go | 41 CacheDir string member 102 CacheDir: helmpath.CachePath("plugins", key), 134 if err := i.extractor.Extract(pluginData, i.CacheDir); err != nil { 138 if !isPlugin(i.CacheDir) { 142 src, err := filepath.Abs(i.CacheDir)
|
/dports/finance/cointop/cointop-1.5.4/cointop/ |
H A D | cointop.go | 127 CacheDir string member 181 CacheDir: config.CacheDir, 430 CacheDir string member 442 if config.CacheDir != "" { 443 cacheDir = config.CacheDir 479 CacheDir string member 489 CacheDir: config.CacheDir,
|
/dports/net-p2p/transmission-cli/transmission-3.00/release/windows/ |
H A D | main.ps1 | 33 $CacheDir = Join-Path $RootDir "${BuildArch}-cache" variable 64 New-Item -Path $CacheDir -ItemType Directory -ErrorAction Ignore | Out-Null in Invoke-DownloadAndUnpack() variable 65 $ArchivePath = Join-Path $CacheDir $Filename in Invoke-DownloadAndUnpack() 71 … Write-Information "Unpacking archive ${ArchivePath} to ${CacheDir}" -InformationAction Continue in Invoke-DownloadAndUnpack() 72 Invoke-NativeCommand 7z x -y $ArchivePath "-o${CacheDir}" | Out-Host in Invoke-DownloadAndUnpack() 171 $CacheArchive = Join-Path $CacheDir $CacheArchiveName in Invoke-Build()
|
/dports/net-p2p/transmission-qt/transmission-3.00/release/windows/ |
H A D | main.ps1 | 33 $CacheDir = Join-Path $RootDir "${BuildArch}-cache" variable 64 New-Item -Path $CacheDir -ItemType Directory -ErrorAction Ignore | Out-Null in Invoke-DownloadAndUnpack() variable 65 $ArchivePath = Join-Path $CacheDir $Filename in Invoke-DownloadAndUnpack() 71 … Write-Information "Unpacking archive ${ArchivePath} to ${CacheDir}" -InformationAction Continue in Invoke-DownloadAndUnpack() 72 Invoke-NativeCommand 7z x -y $ArchivePath "-o${CacheDir}" | Out-Host in Invoke-DownloadAndUnpack() 171 $CacheArchive = Join-Path $CacheDir $CacheArchiveName in Invoke-Build()
|
/dports/net-p2p/transmission-gtk/transmission-3.00/release/windows/ |
H A D | main.ps1 | 33 $CacheDir = Join-Path $RootDir "${BuildArch}-cache" variable 64 New-Item -Path $CacheDir -ItemType Directory -ErrorAction Ignore | Out-Null in Invoke-DownloadAndUnpack() variable 65 $ArchivePath = Join-Path $CacheDir $Filename in Invoke-DownloadAndUnpack() 71 … Write-Information "Unpacking archive ${ArchivePath} to ${CacheDir}" -InformationAction Continue in Invoke-DownloadAndUnpack() 72 Invoke-NativeCommand 7z x -y $ArchivePath "-o${CacheDir}" | Out-Host in Invoke-DownloadAndUnpack() 171 $CacheArchive = Join-Path $CacheDir $CacheArchiveName in Invoke-Build()
|
/dports/net-p2p/transmission-daemon/transmission-3.00/release/windows/ |
H A D | main.ps1 | 33 $CacheDir = Join-Path $RootDir "${BuildArch}-cache" variable 64 New-Item -Path $CacheDir -ItemType Directory -ErrorAction Ignore | Out-Null in Invoke-DownloadAndUnpack() variable 65 $ArchivePath = Join-Path $CacheDir $Filename in Invoke-DownloadAndUnpack() 71 … Write-Information "Unpacking archive ${ArchivePath} to ${CacheDir}" -InformationAction Continue in Invoke-DownloadAndUnpack() 72 Invoke-NativeCommand 7z x -y $ArchivePath "-o${CacheDir}" | Out-Host in Invoke-DownloadAndUnpack() 171 $CacheArchive = Join-Path $CacheDir $CacheArchiveName in Invoke-Build()
|
/dports/net-p2p/transmission-utils/transmission-3.00/release/windows/ |
H A D | main.ps1 | 33 $CacheDir = Join-Path $RootDir "${BuildArch}-cache" variable 64 New-Item -Path $CacheDir -ItemType Directory -ErrorAction Ignore | Out-Null in Invoke-DownloadAndUnpack() variable 65 $ArchivePath = Join-Path $CacheDir $Filename in Invoke-DownloadAndUnpack() 71 … Write-Information "Unpacking archive ${ArchivePath} to ${CacheDir}" -InformationAction Continue in Invoke-DownloadAndUnpack() 72 Invoke-NativeCommand 7z x -y $ArchivePath "-o${CacheDir}" | Out-Host in Invoke-DownloadAndUnpack() 171 $CacheArchive = Join-Path $CacheDir $CacheArchiveName in Invoke-Build()
|