pub async fn pipeline_is_populated(&self, id: PipelineID) -> Result<bool> {
        let row: (Option<i64>,) = sqlx::query_as("SELECT createdAt FROM Pipeline WHERE id=$1")
            .bind(id)
            .fetch_one(&self.con)
            .await?;

        let has_gitlab_data = row.0 != None;
        let has_size = self.size_of_pipeline(id).await.is_ok();

        Ok(has_gitlab_data && has_size)
    }
/// Evaluates whether a pipeline has metadata from Gitlab or is derived from an AccessLogEntry (the latter happens especially in the beginning where not all pipelines are available)
/// Also checks if a pipeline has size data available
Evaluates whether a pipeline has metadata from Gitlab or is derived from an AccessLogEntry (the latter happens especially in the beginning where not all pipelines are available)
Also checks if a pipeline has size data available
Evaluates whether a pipeline has metadata from Gitlab or is derived from an AccessLogEntry ( the latter happens especially in the beginning where not all pipelines are available ) Also checks if a pipeline has size data available
pub async fn pipeline_is_populated(&self, id: PipelineID) -> Result<bool> {
        let row: (Option<i64>,) = sqlx::query_as("SELECT createdAt FROM Pipeline WHERE id=$1")
            .bind(id)
            .fetch_one(&self.con)
            .await?;
        let has_gitlab_data = row.0 != None;
        let has_size = self.size_of_pipeline(id).await.is_ok();
        Ok(has_gitlab_data && has_size)
    }
pub async fn pipeline_is_populated ( & self , id : PipelineID ) -> Result < bool > { let row : ( Option < i64 > , ) = sqlx :: query_as ( " " ) . bind ( id ) . fetch_one ( & self . con ) . await ? ; let has_gitlab_data = row . 0 != None ; let has_size = self . size_of_pipeline ( id ) . await . is_ok ( ) ; Ok ( has_gitlab_data && has_size ) }
Evaluates whether a pipeline has metadata from Gitlab or is derived from an AccessLogEntry (the latter happens especially in the beginning where not all pipelines are available)
Also checks if a pipeline has size data available
Evaluates whether a pipeline has metadata from Gitlab or is derived from an AccessLogEntry ( the latter happens especially in the beginning where not all pipelines are available ) Also checks if a pipeline has size data available
&self
id
PipelineID