Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
parrotmac committed Nov 13, 2023
1 parent 8e4f2e3 commit d7520c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 138 deletions.
122 changes: 0 additions & 122 deletions src/data.rs

This file was deleted.

16 changes: 0 additions & 16 deletions src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ use sheets4::oauth2::read_service_account_key;

use serde::{Serialize, Deserialize};


#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Values {
pub values: Vec<Vec<String>>,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Sheet {
pub name: String,
Expand Down Expand Up @@ -53,16 +47,6 @@ pub struct Workbook {
pub kind: String,
}

impl Workbook {
pub fn new(id: String, name: String, sheets: Vec<Sheet>, kind: String) -> Self {
Self {
id,
name,
sheets,
kind,
}
}
}

async fn list_all_sheets_in_folder(hub: &DriveHub<HttpsConnector<HttpConnector>>, drive_folder_id: &str) -> Result<Vec<(String, String)>> {
let items = hub
Expand Down

0 comments on commit d7520c3

Please sign in to comment.