mirror of https://github.com/vitalif/grive2
Ignore only .grive and .grive_state
parent
89506b4162
commit
c15bfbe8bc
|
@ -60,7 +60,7 @@ void State::FromLocal( const fs::path& p )
|
||||||
|
|
||||||
bool State::IsIgnore( const std::string& filename )
|
bool State::IsIgnore( const std::string& filename )
|
||||||
{
|
{
|
||||||
return filename[0] == '.' ;
|
return filename == ".grive" || filename == ".grive_state";
|
||||||
}
|
}
|
||||||
|
|
||||||
void State::FromLocal( const fs::path& p, Resource* folder )
|
void State::FromLocal( const fs::path& p, Resource* folder )
|
||||||
|
|
Loading…
Reference in New Issue